Is there any way to stop specific exception messages that are thrown during 
page execution from hitting the logs?

My JSPs commonly throw a SecurityException when the user visits a deep link and 
is not yet logged in.  This is handled nicely by a custom error page that 
recognizes the specific error.  However, it still results in an exception in 
the logs.  Unfortunately this case is common enough that it floods my logs with 
garbage and makes the real problems hard to find.

Is there a way to say that some (or even all) exceptions thrown while executing 
JSPs should not log stacktraces?  Disabling all log output from 
org.apache.catalina.core.ContainerBase seems far too heavy-handed.

Thanks,
Jeff

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984439#3984439

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984439
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to