Re: Replace System.out, System.err and printStackTrace() with Commons Logging?

2004-04-20 Thread Dirk Verbeeck
Generating DBCPEvents is the way to go. No direct dependency on any logging library please. The DBCP core should be able to run on a standard tomcat with no extra logging requirments. -- Dirk Alex Karasulu wrote: Steve, Forgot to mention another added benefit of using a monitor (callback)

Replace System.out, System.err and printStackTrace() with Commons Logging?

2004-04-19 Thread Viens, Steve
I've been looking through the DBCP source this morning and have noticed several instances where System.out, System.err and printStackTrace() have been used to write error or status messages to the console. I'm wondering if there's any interest in a contribution that would replace these calls with

RE: Replace System.out, System.err and printStackTrace() with Commons Logging?

2004-04-19 Thread Alex Karasulu
Hi Steve, -Original Message- From: Viens, Steve [mailto:[EMAIL PROTECTED] I've been looking through the DBCP source this morning and have noticed several instances where System.out, System.err and printStackTrace() have been used to write error or status messages to the console.

RE: Replace System.out, System.err and printStackTrace() with Commons Logging?

2004-04-19 Thread Alex Karasulu
Karasulu [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 2:29 PM To: 'Jakarta Commons Developers List' Subject: RE: Replace System.out, System.err and printStackTrace() with Commons Logging? Hi Steve, -Original Message- From: Viens, Steve [mailto:[EMAIL PROTECTED] I've

RE: Replace System.out, System.err and printStackTrace() with Commons Logging?

2004-04-19 Thread Noel J. Bergman
If you define a DBCPMonitor interface to announce notable events you can leave the decision to have a dependency on logging up to the user of the API. So DBCP does not need a commons-logging dependency. That would be easy to adapt to other logging packages, and would avoid the sort of