Thanks Navjot - Quick question -- are you sure the .properties file must be in your classpath?
-----Original Message----- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 10:10 AM To: Struts Users Mailing List Subject: RE: Generating logs w/Log4J in ActionClass i just vaguely remember private Logger logger = Logger.getLogger(Test.class); logger.debug("Better Check log4j docs"); and keep the log4j.properties file in classpath. hth navjot singh |-----Original Message----- |From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] |Sent: Thursday, August 21, 2003 9:25 PM |To: [EMAIL PROTECTED] |Subject: Generating logs w/Log4J in ActionClass | | |I have the appropriate configurations completed to use Log4J w/Tomcat. |However, how would I invoke Log4J from within my action class to generate |DEBUG statements? |I have the following package imported: |import org.apache.log4j.*; |Any examples would be most appreciated. |Thanks in advance. |- Mitesh | --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

