-->
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: disable c3p0-sysout?
PostPosted: Mon Dec 06, 2004 9:01 am 
Newbie

Joined: Mon Dec 06, 2004 8:52 am
Posts: 1
Hello,

I'm using Hibernate with c3p0 pooling. When c3p0 starts it prints out some information to console, with database user and password. How can I disable this? Is it possible with just some settings to Hibernate-Config?

Thanks!

Stephan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 11, 2004 5:13 am 
C3P0 Developer
C3P0 Developer

Joined: Tue Jan 06, 2004 8:58 pm
Posts: 145
Hi.

Newer versions of c3p0 mask username and password in the logging. Try upgrading.

In general, c3p0's logging is not as interoperable or configurable as it should be, but note that all logging is to System.err, not System.out, so you can redirect c3p0's output by using the System.setErr( ... ) method or UNIX stream redirection.

smiles,
Steve (c3p0 guy)


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.