Hi Michael,

Thanks for looking into this. I've been irritated by the log error messages and didn't have time to research it. Could you please add some doc that explains the logging properties? I don't know offhand where it belongs, but I think it needs to be somewhere that folks can access when they want to run the project.

Where does setup info like logging, running a single test (thanks, maven) etc. belong???

Craig

On Aug 11, 2005, at 8:32 AM, Michael Watzek wrote:

Hi,

attached you find a patch fixing the C3P0 log4j initialization.

Andy, I decided to specify info logging on v2 level rather than explicitly specifiying for v2.c3p0 and v2.resourcepool because there are more loggers in subpackages of v2.

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------
Index: test/conf/logging.properties
===================================================================
--- test/conf/logging.properties    (revision 231468)
+++ test/conf/logging.properties    (working copy)
@@ -64,3 +64,6 @@

 log4j.category.JPOX.Enhancer=INFO, A1
 log4j.category.JPOX.SchemaTool=INFO, A1
+
+# C3P0 categories
+log4j.category.com.mchange.v2=INFO, A1


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Reply via email to