Hi,

I already posted this to the log4j-list but got no response. Maybe someone of you can help me.


I have this log4j.properties-file within my webapp:
---------------------------
log4j.rootLogger=DEBUG,stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d{ISO8601}, %-5p] {%x} %.40c:%L: %m%n
---------------------------

The webapp runs under Tomcat 5.5.15. I would expect this config-file to litter my console with tons of log messages. But it only displays the messages from my webapp. None of the 3rd-party-tool-messages, like from hibernate or oscache, make it to the console.

Even an explicit logger-declaration for eg. hibernate does not work:
log4j.logger.org.hibernate=DEBUG

The config file is really read by the application. So when I change
log4j.rootLogger=DEBUG,stdout
to
log4j.rootLogger=INFO,stdout
no DEBUG-messages from my application get displayed anymore.

Did I miss something in the configuration?

Many thanks in advance!


Sven


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

Reply via email to