[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Displaying/Logging JSP compilation/runtime errors on JBoss4.
paragmarathe
do-not-reply at jboss.com
Fri Sep 15 14:37:07 EDT 2006
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"/>
| </layout>
| </appender>
|
|
| <category name="org.apache.jasper">
| <priority value="DEBUG"/>
| <appender-ref ref="CONSOLE"/>
| </category>
|
| <category name="org.apache">
| <priority value="INFO"/>
| </category>
|
|
All your help is highly appreciated.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972014#3972014
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972014
More information about the jboss-user
mailing list