Howdy, I think that's a better practice because I don't like mixing configuration files and classes. Other people do like this approach and the auto-initialization you get with it.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 16, 2003 6:31 AM >To: 'Log4J Users List' >Subject: Log4j best practices > >All, > >I was looking through a weblogic sample application recently that used >log4j. I noticed that it referenced the log4j.properties file by >specifying >it in a command line property (Dlog4j.config=log4j.properties) rather than >let log4j look on the classpath. Also, the properties file was deployed >separately from the ear file. > >I am looking to incorporate log4j in a future weblogic application. Is >this >the "best practice"? Is there a reason log4j was set up this way? > >Regards, > >Joshua > > > >This communication, including attachments, is for the exclusive use of >addressee and may contain proprietary, confidential or privileged >information. If you are not the intended recipient, any use, copying, >disclosure, dissemination or distribution is strictly prohibited. If >you are not the intended recipient, please notify the sender >immediately by return email and delete this communication and destroy all >copies. > > >--------------------------------------------------------------------- >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]