I’m working on an ASP.NET web application, written using Visual Basic, and I’m trying to track down an error message that I’m getting.
I’d like to get it to log the exception to a file (or the event log) so I can see it, as the error only occurs on the production server, and not on the development environment (therefore VS isn’t installed on there…).
Does anyone have any thoughts as to best practice as to how to do this ?
Cheers
Not sure if it is a ‘best practice’ but the most common way is using log4net.