logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: Performance and Logger.getLogger()
Date Wed, 02 Apr 2003 14:24:26 GMT

Wulf Wechsung wrote:

> I read in the faq that calling Logger.getLogger() will kill app performance.
> I am currently writing a wrapper for a beast called the SAP/webMethod
> business connector which is an app-server providing a 'unique' flow language
> to programm services. It would be to quite an effort to ask the developers
> of those services to keep references to their logger and pass it for each
> log statement, so I would did an implementation that determines which logger
> to use by itself. Unfortunatly it has to call Logger.getLogger() for each
> log-call.

Hi Wulf,

I did not see this FAQ.  Can you post the URL so that I can read it too? 
  Currently I have a call to Logger.getLogger() in every class and the 
returned Logger is stored in a static field.  This is not the common way 
to acquire a logger?

Thank you,


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

View raw message