Anything wrong or missing? Thanks. *below
log4j.debug=true
log4j.rootLogger=DEBUG, FILE, STDOUT, c3pO
### c3p0 logger log4j.category.com.mchange.v2.log.MLog=DEBUG, c3p0 log4j.category.com.mchange.v2.c3p0=DEBUG, c3p0 log4j.category.com.mchange.v2.resourcepool=DEBUG, c3p0
### c3p0 appender log4j.appender.c3p0=org.apache.log4j.DailyRollingFileAppender log4j.appender.c3p0.FILE.File=C:\\c3pOLog\c3p0.log log4j.appender.c3p0.layout=org.apache.log4j.PatternLayout log4j.appender.c3p0.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %c{1}:%L - %m%n log4j.appender.c3p0.DatePattern='.'yyyy-MM-dd
### c3po info displayed to stdout log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout log4j.appender.STDOUT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
### Checks c3po connections log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
|