Howdy, Put the log4j.properties file in WEB-INF/classes and log4j will pick it up automatically for you. As for the class not found exception, post the entire stack trace.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: shiladitya [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 16, 2003 3:14 AM >To: [EMAIL PROTECTED] >Subject: Class Def Not Found > >Hi All, > >First time user for log4j.I am trying to incorporate the log4j in my >application running on iplanet web server6.0.I put the log4j jar file in >the >lib under WEB-INF.However,when my servlet loads it is not able to find the >Logger parent Category class definition when i try to access the Logger >class.Any ideas? > >Also I have created a properties file which is kept in web-inf >directory.However,how do i tell the application that this is the properties >file from which it should read which appender i want to use and so on. > > > > >Note:This mail was delivered on 100% recycled electrons. > > >--------------------------------------------------------------------- >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]