logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garlak, Gregory" <Gregory.Gar...@genesys.com>
Subject RE: Log4j Initialization
Date Tue, 16 Sep 2003 14:57:24 GMT

Oops. No they don't. Each class provides it's own
category. I forgot to mention that. I meant they
use the getLogger from the super and don't provide
the second parameter.


-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
Sent: Tuesday, September 16, 2003 10:57 AM
To: Log4J Users List
Subject: RE: Log4j Initialization



Howdy,

>All the other classes contain this member init:
>private static Logger log =
>GenLogger.getLogger(GenLogConfiguratorBean.class);

Why would you want to have all your classes share the same Logger
instance?  You wouldn't be able to change the debugging levels for
selected classes at runtime, only all at once...

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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


Mime
View raw message