Howdy, Where did you see the transient one? The perfect syntax depends on your usage of the Logger. The most common one I think, as well as the one most frequently illustrated in the log4j documentation, is private final static (which should be private static final according to JLS recommendations ;))
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Yu Xiang Xi (Maveo) [mailto:[EMAIL PROTECTED] >Sent: Monday, September 29, 2003 4:58 AM >To: 'Log4J Users List' >Subject: Questions on initial log4j instance > >I have seen different usage of initial log4j instance like below >private final static Logger logger = Logger.getLogger("some.name"); > and >private final transient static Logger logger = >Logger.getLogger("some.name"); >the second one has a additional keyword transient. > >Which way is recommended? >Thanks in advance. > >Best Regards >Xi Yuxiang >Maveo Systems Limited > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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]