In my opionion, an ERROR message should NEVER be disabled. I thought that
was the nature of an ERROR.
Setting priority to error should effectively remove all but the most extreme
(fatal) messages.
-Original Message-
From: Jamie Tsao [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2
Hi,
I've been using log4j with Jboss for the past couple months now with great
success. I'm currently looking for any log analyzers that would be able to
parse and analyze the logs created by log4j.
Thanks,
Robert
-
To unsub
Hi,
I was evaluating log4j as a possible logging package, and I had a couple of
questions:
1) How do you turn off logging completely in the properties file ? I know
you can turn off logging during runtime by calling
PropertyConfigurator.disableAll() , but how can you do so in the properties
Yogi,
I had done something similar with my own logging framework, but used an RSA
key pair and javax.security.Signature to essentially get a 'true' digital
signature, as opposed to a MAC. But I agree that in many situations (my own
included) a MAC is better for non-repudiation purposes that don'
Rick,
Your description is correct. I also agree that it is not the correct or most suitable
behavior. I'll fix this. Thanks for letting us know. Ceki
At 15:24 06.06.2001 -0500, you wrote:
>It appears that the DailyRollingFileAppender does not roll on the specified
>period unless it is running
It appears that the DailyRollingFileAppender does not roll on the specified
period unless it is running? By this I mean if you were rolling daily at
midnight, if you stop the app before midnight then start it after midnight
DailyRollingFileAppender does not created a new file. I am using log4j1.1.
I would like to use a basic standard init file to startup log4j. It will be
via the XML style so that I can configure async appenders (a must have for
production)...
Then I would like individual components of my system to set their own log4j
properties (using xml and/or properties files). This is
Title: SMTPAppender
Not exactly sure if this is what you were asking for.
But here is an entry we currently use to email error logs. This works for
individual logs. If you are asking about how to attach a file to an email
then this wouldn't help you to do that
#*
Title: SMTPAppender
Hello folks,
I´m using log4j-1.1.1 and I tried to use the SMTPAppender to send a logged file to a specified Email-Adress.
Can somebody give me a hint or link how a properties file has to look like to manage this step...
thanks a lot
Nik
Marcus,
The problem is due to a bug. It has been fixed in the code that is in our CVS
repository. Regards, Ceki
At 16:56 06.06.2001 +0200, you wrote:
>We've tried updating from 1.0.4 to 1.1.1 but can't get it started since
>log4j.properties refuses to be found, whatever the configuration. Aft
Hi,
i'm using Tomcat 3.2.1 and log4j 1.1.1.
I'm still confused about the location of the log4j.xml file when i want use
the DOMConfigurator.
I've a servlet that calls in his init() method
'DOMConfigurator.configure();'
But my log4j.xml has never been found. It's always using some kind of
default
We've tried updating from 1.0.4 to 1.1.1 but can't get it started since
log4j.properties refuses to be found, whatever the configuration. After
switching back to 1.0.4 everything started just fine. I've seen people
on the list having problems with Tomcat, we're using Orion, so it seems
application
Hey Doug,
I did the same for WebLogic. If you want to use basic configuration, this
is fine. If you want to do more, like call configureAndWatch to see
if the log4j.properties changes, then you have to do more.
Ceki suggested using a servlet that is loaded when the appserver comes up.
This servle
Could you clarify a bit. I am not quite sure what to make of your answer,
"Nope" and "Log4j is thread safe" seem a bit contradictory. "Nope" could
mean problems are possible and "thread safe" could mean they are not.
I suppose that being thread safe (which I was aware of) does not preclude
probl
Hi,
I think I may be able to answer my own question now (having read the
manual a little more carefully). In case anyone is having a similar
problem I have outline the approach below:
Basically I am using the default initialisation method and it seems to
work great.
In each tag class I do the u
Hi,
I am trying to replace the System.out.println() logging in my custom tag
library with log4j (using jakarta 3.2.1). I have added
Category.getInstance() calls in each tag but I am not sure where I
should add the log4j initialisation code. Do I just have a static
initialisation block in one of
Hi All
I am trying to extend log4j to achieve the following.
I need to log custom information, like action, machine origin in a XML
format, as well as all the other standard information that log4j provides.
An example of this in action is
cat.info ("This is a test", ACTION.test, MACHIN
Hi Ceki,
We need this to provide proof of non-tampering in a banking application.
The log entries contain transaction details for transactions executed over
the internet by customers.
It provides proof that a particular transaction with the said amounts was
executed on a particular day.
Regards
Yogi,
What is your aim in signing the log entries? What are you trying to achieve? Ceki
At 14:55 06.06.2001 +0530, you wrote:
>Hi all,
>
>I'm trying to append a digital signature of the (log message + timestamp) to
>the log entry.
>
>For this I'm writing a PatternConverter for a character...say
Hi all,
I'm trying to append a digital signature of the (log message + timestamp) to
the log entry.
For this I'm writing a PatternConverter for a character...say 's'. This
converter uses javax.crypto.Mac
and java.security.KeyStore to generate a digital signature with either MD5
or SHA1.
Am I on
> All test category messages sent to A1 and all messages sent to A2 both
> get logged at all levels. Is there anything saved by having the category
> check, as opposed to sending the message to the appender to be checked
> there as well?
Thanks Rob,
I will have two appenders, and one will only lo
Thanks for your clear explanation Mark.
I am sure that, if the documentation, you are writing will be just as clear
as this mail, it will be very OK ;)
Thank,
Eddie
- Original Message -
From: Mark Masterson <[EMAIL PROTECTED]>
To: LOG4J Users Mailing List <[EMAIL PROTECTED]>
Sent: Tues
22 matches
Mail list logo