logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Lipofsky" <dan...@nuserve.com>
Subject repeated messages with tomcat
Date Wed, 16 Jan 2002 19:29:33 GMT
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:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message