Hi everyone,

I´m trying to log DEBUG info of the org.apache.tomcat.jdbc package.

My system is configured with log4j, just like
http://tomcat.apache.org/tomcat-7.0-doc/logging.html instructions.

I have included a new appender in log4j.properties:

log4j.appender.POOL=org.apache.log4j.DailyRollingFileAppender
log4j.appender.POOL.File=${catalina.base}/logs/pool.log
log4j.appender.POOL.Append=true
log4j.appender.POOL.Encoding=UTF-8
log4j.appender.POOL.DatePattern='.'yyyy-MM-dd'.log'
log4j.appender.POOL.layout = org.apache.log4j.PatternLayout
log4j.appender.POOL.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

And a new log4j.logger:

log4j.logger.org.apache.tomcat.jdbc=DEBUG, POOL

But anything appear in the pool.log file.

Is there anything wrong with this config?

And is possible to log the org.apache.tomcat.jdbc package/

Additional Info:

Tomcat 7.0.23
Windows 2008 64 bits
log4j 1.2.16

--
L. Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to