-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Enabling debug for c3p0
PostPosted: Mon Jul 19, 2010 10:25 am 
Newbie

Joined: Mon Jul 19, 2010 12:47 am
Posts: 2
I would like to know how to enable fine grained trace for c3p0 in log4j.xml.

I have the following entry in log4j.xml:

<logger name="com.mchange.v2.c3p0.impl">
<level value="debug"/>
<appender-ref ref="c3p0"/>
</logger>

However,I find only prints like the following throughout the log file which gets generated for this logger:

[19 Jul 2010 19:57:38:686] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@1a11e65: close() called more than once.
[19 Jul 2010 19:57:38:741] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@ca4dc1: close() called more than once.
[19 Jul 2010 19:57:38:747] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@10e2d89: close() called more than once.
[19 Jul 2010 19:57:38:755] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@ef70f8: close() called more than once.
[19 Jul 2010 19:57:38:810] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@54f902: close() called more than once.
[19 Jul 2010 19:57:38:866] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@193e364: close() called more than once.
[19 Jul 2010 19:57:38:921] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@2cf4c7: close() called more than once.
[19 Jul 2010 19:57:38:928] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@cd2124: close() called more than once.
[19 Jul 2010 19:57:38:934] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@9d1478: close() called more than once.
[19 Jul 2010 19:57:38:939] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@f67046: close() called more than once.
[19 Jul 2010 19:57:38:946] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@adf0e8: close() called more than once.
[19 Jul 2010 19:57:38:951] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@8f609a: close() called more than once.
[19 Jul 2010 19:57:38:957] impl.NewProxyPreparedStatement: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@a146d0: close() called more than once.
@

Somehow, I do not see any exception trace related to the issue. Can someone suggest how to enable fine trace for this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.