0 Replies Latest reply on Sep 15, 2006 2:37 PM by Parag Marathe

    Displaying/Logging JSP compilation/runtime errors on JBoss4.

    Parag Marathe Newbie

      I am running JBoss4.0.4.

      How do I configure log4j to display JSP compiletime / runtime exceptions ?

      Following is the log4J. xml file settings I am using

       <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
       <param name="Target" value="System.out"/>
       <param name="Threshold" value="INFO"/>
       <layout class="org.apache.log4j.PatternLayout">
       <!-- The default pattern: Date Priority [Category] Message\n -->
       <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
      <category name="org.apache.jasper">
       <priority value="DEBUG"/>
       <appender-ref ref="CONSOLE"/>
       <category name="org.apache">
       <priority value="INFO"/>

      All your help is highly appreciated.