I was wondering what the best practices for error logging are for a web application developed using asp.net 4.0. This is both at an application level as well as at the page level.
Should we be wrtiting errors to text files or should we be writing errors to database tables. Would like to understand the pros and cons of using each approach. Also if there is something available within the framework that we could use right off the bat.
Any help would be appreciated,