logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: org.apache.log4j.Logger
Date Fri, 03 Oct 2003 19:09:30 GMT

Yes.  The name is a unique identifier for a logger instance (within a
loger repository).  

All return different Logger instances.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Lummis, Patrick J [mailto:PJL@dolby.com]
>Sent: Friday, October 03, 2003 3:08 PM
>To: log4j-user@jakarta.apache.org
>Subject: org.apache.log4j.Logger
>I'm trying to understand the hierarchy in log4j.
>If I do the following:
>Logger x = Logger.getLogger("com.apples")
>Logger y = Logger.getLogger("com.oranges")
>Will I get references to two distinct Logger objects?
>Patrick Lummis
>This message (including any attachments) may contain confidential
>information intended for a specific individual and purpose. If you are
>the intended recipient, delete this message. If you are not the
>recipient, disclosing, copying, distributing, or taking any action
based on
>this message is strictly prohibited.

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

View raw message