AW: DBCP Pooling loggin

2004-11-04 Thread Nick Pellow
Thanks Yoav.


>-Ursprungliche Nachricht-
>Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 4. November 2004 16:39
>An: Tomcat Users List
>Betreff: RE: DBCP Pooling loggin
>
>
>
>Hi,
>
>>Under tomcat 5.0, what is the best way to configure logging
>>for commons-DBCP? Can this be done using log4j?
>
>You have to do it programmatically, using BasicDataSource#setLogWriter.
>This is the only logging supported by DBCP right now.  It's tricky to
>mix it with other logging such as that done by Tomcat.
>
>Yoav
>
>
>
>This e-mail, including any attachments, is a confidential business 
>communication, and may contain information that is confidential, 
>proprietary and/or privileged.  This e-mail is intended only for 
>the individual(s) to whom it is addressed, and may not be saved, 
>copied, printed, disclosed or used by anyone else.  If you are not 
>the(an) intended recipient, please immediately delete this e-mail 
>from your computer system and notify the sender.  Thank you.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DBCP Pooling loggin

2004-11-04 Thread Shapira, Yoav

Hi,

>Under tomcat 5.0, what is the best way to configure logging
>for commons-DBCP? Can this be done using log4j?

You have to do it programmatically, using BasicDataSource#setLogWriter.
This is the only logging supported by DBCP right now.  It's tricky to
mix it with other logging such as that done by Tomcat.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DBCP Pooling loggin

2004-11-04 Thread Nick Pellow
Hi, 

Under tomcat 5.0, what is the best way to configure logging
for commons-DBCP? Can this be done using log4j?


Cheers, 
Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]