Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;)
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] >Sent: Friday, October 03, 2003 2:54 PM >To: [EMAIL PROTECTED] >Subject: RE: log4j logging and tomcat > >Thanks, did that, but still no debuggin information is showing up in my Mac >OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib >dir of my webapp... > >Ilja > >>From: "Shapira, Yoav" <[EMAIL PROTECTED]> >>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >>To: "Tomcat Users List" <[EMAIL PROTECTED]> >>Subject: RE: log4j logging and tomcat >>Date: Fri, 3 Oct 2003 14:37:50 -0400 >> >> >>Howdy, >>Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. >>RTFM >> >> >>Yoav Shapira >>Millennium ChemInformatics >> >> >> >-----Original Message----- >> >From: Ilja [mailto:[EMAIL PROTECTED] >> >Sent: Friday, October 03, 2003 2:37 PM >> >To: [EMAIL PROTECTED] >> >Subject: log4j logging and tomcat >> > >> >I have created a webapp and put a log4j.properties in the classpath, >>but >> >the logging doesn't seem to work. So now I want to enable log4j >> >debugging, but don't know how to set this system property with tomcat: >> > >> >Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is >> >that possible? If not: how do I set this property? >> > >> >--------------------------------------------------------------------- >> >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] >> > >_________________________________________________________________ >MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl > > >--------------------------------------------------------------------- >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]
