[REPOST under correct thread] (continued from previous msg)
HERE is the log4j.xml file I'm using (I forgot to include it in my last message). Also, I'vd tried creating the "logs" directory under the [CATALINA_HOME]/bin directory, and still no log files have been created. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="event_file" class="org.apache.log4j.DailyFileAppender"> <param name="Threshold" value="DEBUG"/> <param name="File" value="log/uwaf-event.log"/> <param name="Append" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender> <appender name="error_file" class="org.apache.log4j.DailyFileAppender"> <param name="Threshold" value="INFO"/> <param name="File" value="log/uwaf-error.log"/> <param name="Append" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out"/> <param name="Threshold" value="INFO"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> </layout> </appender> <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> <appender-ref ref="event_file"/> <appender-ref ref="error_file"/> </appender> <!-- Setup the Root category --> <root> <appender-ref ref="ASYNC"/> </root> </log4j:configuration> -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 2:18 PM To: Struts Users Mailing List Subject: Re: [newb question] Turning on DEBUG level logging Darren Hall wrote: > So essentially, I should download Log4J, include the jar in my classpath and > create a "Log4J.xml" file. Correct? > Most people use the properties file, but the XML config gives you more power. I've always handled XML config init programmatically; I don't know if it works automagically. Dave --------------------------------------------------------------------- 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]