You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "James A. N. Stauffer" <st...@gmail.com> on 2012/10/31 20:11:27 UTC

Re: JDK logging appender that sends events to log4j

Using apache-jul-log4j-bridge-1.0.0-20080915.045446-7.jar it appears
that Logger.isLoggable always returns true and we always pay the cost
of generating logging statements even when not needed. In a recent
example that made a program take 10 times longer. Is there a way to
use the bridge without paying that extra cost?

James A. N. Stauffer        http://jamesjive.blogspot.com
Are you good? Take the test at http://www.livingwaters.com/good/


On Tue, Jun 19, 2007 at 4:40 PM, Scott Deboy <sd...@comotivsystems.com> wrote:
> Sorry..try this one:
>
> http://svn.apache.org/viewvc/logging/sandbox/jul-to-log4j-bridge/
>
>
> Scott Deboy
> Principal Engineer
> COMOTIV SYSTEMS
> 111 SW Columbia Street Ste. 950
> Portland, OR  97201
> Office: 503.224.7496
> Direct Line: 503.821.6482
> Cell: 503.997.1367
> Fax: 503.222.0185
> sdeboy@comotivsystems.com
> www.comotivsystems.com
>
>
> -----Original Message-----
> From: James Stauffer [mailto:stauffer.james@gmail.com]
> Sent: Tuesday, June 19, 2007 2:22 PM
> To: Log4J Users List
> Subject: Re: JDK logging appender that sends events to log4j
>
> That appears to be the reverse of my idea.
>
> On 6/19/07, Scott Deboy <sd...@comotivsystems.com> wrote:
>> A recent contribution:
>>
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=42664
>>
>> Looks like a great idea to me.
>>
>> Scott Deboy
>> Principal Engineer
>> COMOTIV SYSTEMS
>> 111 SW Columbia Street Ste. 950
>> Portland, OR  97201
>> Office: 503.224.7496
>> Direct Line: 503.821.6482
>> Cell: 503.997.1367
>> Fax: 503.222.0185
>> sdeboy@comotivsystems.com
>> www.comotivsystems.com
>>
>>
>> -----Original Message-----
>> From: James Stauffer [mailto:stauffer.james@gmail.com]
>> Sent: Tuesday, June 19, 2007 2:07 PM
>> To: Log4J Users List
>> Subject: JDK logging appender that sends events to log4j
>>
>> Has anyone made a JDK logging appender that sends events to log4j?
>>
>> This would achieve much the same benefit of commons-logging without
>> any extra downloads when log4j isn't used.
>>
>> I.e. I would like to use JDK logging on the client and log4j on the
>> server.
>>
>> --
>> James Stauffer        http://www.geocities.com/stauffer_james/
>> Are you good? Take the test at http://www.livingwaters.com/good/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>
>
> --
> James Stauffer        http://www.geocities.com/stauffer_james/
> Are you good? Take the test at http://www.livingwaters.com/good/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org