db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: use commons-logging??
Date Wed, 25 Jun 2003 16:39:04 GMT
hi martin,

switching to commons-logging is one of the tasks discussed for 2.0.

jakob

Martin Poeschl wrote:

> Thomas Mahler wrote:
>
>> Hi Martin,
>>
>> Some time ago commons-logging had no support for
>> if (logger.isLogging())
>> {
>>     logger.debug(<expensive String concatenation here>);
>> }
>>
>> Which was useful to avoid expensive String constructions. 
>
>
>
> this is what i found in the Log interface docs ;-)
>
> if (log.isDebugEnabled()) {
>     ... do something expensive ...
>     log.debug(theResult);
> }
>
>
>> We also need a Bootlogger that is able to log before *any* kind of 
>> configuration took place. 
>
>
> no problem ...
> look at 
> http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html

>
> to see how the logging could be configured
>
> martin
>
>> Once these feature are added we could use commons-logging to replace 
>> the existing stuff.
>>
>> cheers,
>> Thomas
>>
>>
>> Martin Poeschl wrote:
>>
>>> are there any plans to replace the logging stuff in ojb with the 
>>> commons-logging package??
>>>
>>> martin
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>


Mime
View raw message