I'm currently supporting an ASP.NET 2.0 website. I'm trying to figure out how the site is logging ASP.NET errors to the Windows Event Log. I checked all the possibilities where I know this may be done:
1) In Page_Error() for a particular page.
2) In Application_Error() in global.asax.
3) In an HttpModule that adds an Error event Handler.
4) In <customErrors> section that redirects.
None of the above were being used to log to the EventLog.
Moreover, I did a global search on "EventLog" on the entire code base, and found nothing.
Is there another way I could where event logging was setup? Can it be done through IIS? In the registry? In the IIS Metabase? Somewhere else?
Once again, it was NOT done anywhere in the ASP.NET code from I've researched.