Here is my log4j.xml
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<!-- I changed the value below from INFO to DEBUG -->
<param name="Threshold" value="DEBUG"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>
The only change I made (as the comment suggests) is to change the level from INFO to DEBUG. Because of the change in the console I am getting all the debug messages which is great. I am also getting DEBUG level messages for
struts 1.1 which is a lot of messages. Is there a way to have my code level to be DEBUG and all the struts code to have level INFO.
thanks.
- walk rustin