See Appender Additivity 

-----Original Message-----
From: Dan Lipofsky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: repeated messages with tomcat


I am using log4j 1.1.3 with tomcat 3.2.4.  All
my debug messages are printing out multiple times, and
I cannot figure out why.  Here is my log4j.properties file:

log4j.debug=true
log4j.rootCategory=debug,stdout
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern =%5p [%c{1}:%L] %m%n

Here is the info it prints out when it parses it:

log4j: Parsing for [root] with value=[debug,stdout].
log4j: Priority token is [debug].
log4j: Category root set to DEBUG
log4j: Parsing appender named "stdout".
log4j: Parsing layout options for "stdout".
log4j: Setting property [conversionPattern] to [%5p [%c{1}:%L] %m%n].
log4j: End of parsing for "stdout".
log4j: Parsed "stdout" options.
log4j: Finished configuring.

And here is a sample:

DEBUG [FooBar:518]  sample debug message
51168 [Thread-10] DEBUG nuserve.tier1.request.FooBar  -  sample debug
message
51168 [Thread-10] DEBUG nuserve.tier1.request.FooBar  -  sample debug
message

can anyone help me fix this?
Thanks,
Dan



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to