Howdy, Yes. The name is a unique identifier for a logger instance (within a loger repository).
Logger.getLogger("com"); Logger.getLogger("com.foo"); Logger.getLogger("com.bar"); All return different Logger instances. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Lummis, Patrick J [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 3:08 PM >To: [EMAIL PROTECTED] >Subject: org.apache.log4j.Logger > > > >Hi, > >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 not >the intended recipient, delete this message. If you are not the intended >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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]