Reputation: 27955
Sometimes exceptions occur in my ASP .NET MVC 2 application. ASP .NET shows standard error page to user. Programmer doesnt have any information that such exception occurs.
How to log those exceptions to application log table in PostgreSql database. There is table logfile in PostgreSql database where application writes log info. How to catch those exceptions and write to log file. It is ok to show asp .net standard error page to user but exceptions needs to be logged also. Only if excepton occurs during exception logging, exception should not logged.
Upvotes: 0
Views: 251