-->
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.  [ 2 posts ] 
Author Message
 Post subject: How to get rid of Initiliazing c3p0 logging on the console?
PostPosted: Tue Jul 27, 2004 3:57 am 
Newbie

Joined: Wed Jul 14, 2004 8:17 am
Posts: 4
Location: London (UK)
How do I get rid of the C3p0 logging on the console or at least how can I redirect it to a file?

Code:
    [java] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@a282af [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@69751d [ acquireIncrement -> 1, autoCommitOnClose -> false, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 100, initialPoolSize -> 10, maxIdleTime -> 100, maxPoolSize -> 100, maxStatements -> 0, minPoolSize -> 10, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@9f9e5e [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:postgresql://192.168.1.10:5432/db_archive, properties -> {user=paul, password=mypasswd} ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , factoryClassLocation -> null, numHelperThreads -> 3 ]


I've tried to change the logging level of different options in log4j.properties for hibernate but this one above remains.
It's ennoying when I'm running my JUnit tests.

Thanks.


Top
 Profile  
 
 Post subject: ...
PostPosted: Tue Aug 17, 2004 6:17 am 
Beginner
Beginner

Joined: Mon Sep 15, 2003 9:10 am
Posts: 43
I've got the same problem,

Thanks for anyone help us,

Fabien.


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

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.