This content has been marked as final.
Show 2 replies
-
1. Re: stop displaying JAAS security exception trace
sivakumar_n May 11, 2005 12:57 AM (in response to sivakumar_n)Hi All,
Can i redirect security exceptions to a log file ,other than console.Can i set log level to prevent this.
Thanks
Siva -
2. Solution: stop displaying JAAS security exception trace
sivakumar_n May 11, 2005 2:16 AM (in response to sivakumar_n)The solution follows:
You can redirect the exception trace to a log file by adding the following category in the log4j.xml file. So the exception stack trace will not be displayed in the server console.<category name="org.jboss.ejb" additivity="false"> <priority value="ERROR"/> <appender-ref ref="JSR77"/> </category>
This will redirect all the ERROR s of org.jboss.ejb to a log file specified in the JSR77 appender.
Thanks
Siva