commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <dennis.lundb...@mdh.se>
Subject Re: DBCP Contribution: Replace System.out calls with Commons Logging
Date Mon, 19 Apr 2004 20:29:46 GMT
Serge Knystautas wrote:
> Noel J. Bergman wrote:
> 
>>> 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 calls to the commons-logging package instead?
>>
>>
>> YES!  :-)
>>
>> At least on my part.  Honestly, if you're going to tie Commons Pool 
>> and DBCP
>> to Logging, also introduce the idea of levels so that we get debugging,
>> info, error, etc., appropriate messages.
> 
> 
> How would commons-logging fit within the Avalon framework?  (James uses 
> DBCP now).

The upcoming version 1.0.4 of commons-logging has an AvalonLogger, which 
wraps the logger used by the Avalon framework.

--
Dennis Lundberg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message