I am getting lots of OOPS pages, which I belive is generated for exceptions. It seems nothing is logged by log4net in the log file or anywher else.
1- How do I enable logging in Runtime (I enabled debug in web.config, but this is for compile time).
2- How do I see more detail for the exceptions?
2- Do I override it with my custom error page, which shows more information ?
3- Is ther any Gloabl exception handler buil-in, so it catches unhandled application errors?
4- Is ther any documentatuion on the subject anywhere?
Thanks in advance.
Exception Handling & Logging
Re: Exception Handling & Logging
Errors are being handled in Global.asax as well. I guess we are not Logging error information in some cases for example HTTP errors like page not found etc. You can simply turn of custom error pages and it will try to emit the error details on same page instead of redirecting it to custom pages.