1. Turning off logging for Hibernate c3p0 stackoverflow.comI'm using Hibernate's c3p0 connection pooling and standard Java 1.4 |
2. How to get rid of Initiliazing c3p0 logging on the console? forum.hibernate.orgHow 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 -> ... |
3. c3p0 log initilization problem forum.hibernate.org |
4. c3p0 excesive logging or infinite loop? forum.hibernate.orgI'm running c3p0 under hibernate under tomcat and mysql db, on a very heavily loaded system, and suspect c3p0 is stealing tomcat's worker threads into infinite loops. I suspect this is the case, since: 1. Tomcat runs out of worker threads. 2. c3p0 fills the log with an infinite number of the following messages, all from the same thread, in very ... |
5. c3p0 logging forum.hibernate.orgHi, In my application i am getting the following log. Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@c8376b [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@e496ab [ acquireIncrement -> 1, acquireRetryAttempts -> 1, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 100, initialPoolSize -> 3, maxIdleTime -> 0, maxPoolSize -> 5, ... |
6. c3p0 logging forum.hibernate.orgHi, In my application i am getting the following log. Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@c8376b [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@e496ab [ acquireIncrement -> 1, acquireRetryAttempts -> 1, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 100, initialPoolSize -> 3, maxIdleTime -> 0, maxPoolSize -> 5, ... |