On Mar 12, 10:46 pm, Scott Rippee <
scott.rip...@gmail.com> wrote:
> I'd like to get c3p0 debug data to help me collect more information what's
> going on. I've tried putting these lines in my log4j.properties file, but
> I haven't been able to get any log info from c3p0:
>
> log4j.logger.com.mchange.v2.c3p0=DEBUG
> log4j.category.com.mchange=DEBUG
> log4j.logger.com.mchange=DEBUG
Hi,
with brief source code looking, DBPlugin:onApplicationStart seems to
have the following just before creating c3p0 data source:
System.setProperty("com.mchange.v2.log.MLog",
"com.mchange.v2.log.FallbackMLog");
System.setProperty("com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL",
"OFF");
Don't know if there's some other way to enable logging other that to
edit Play source code?
br, Touko Vainio-Kaila