This content has been marked as final.
Show 2 replies
-
1. Re: Do we need failed page access logged as ERROR
hamtho2 Mar 3, 2007 5:22 AM (in response to alex.kozlenkov)I´d also prefer not to log the whole exception as this is more like a standard-issue and logging the whole stack-trace always looks like having a problem or a bug in the application, which is not really the case if the user is not logged in.
Thomas -
2. Re: Do we need failed page access logged as ERROR
tom_goring Mar 22, 2007 10:25 AM (in response to alex.kozlenkov)Hi All,
I have a related issue,
If in pages.xml I define:<exception class="javax.persistence.OptimisticLockException"> <redirect view-id="/user_error.xhtml"> <message>Sorry but someone else has updated that record.</message> </redirect> </exception>
I'd like to NOT see an exception in the server log.
Could we have a flag in pages.xml or something to say suppressLogging ?
Thanks
Tom