Home > Forum > ASP.NET > Save exception in a log file

Save exception in a log file

by Dave   on Oct 25, 2013   Category: ASP.NET  |  Views: 2395    |  Points: 5   |  Starter 
How do I save error in log file i.e txt file using a ASP.NET C#
Eg 25/10/2013 3.30 PM Divide by zero exception.
Similarly all the errors in the web application will be saved in the Log.txt file.

Bookmark and Share:
  User Reply  | Ask a question  |   Reply 
  Re :Save exception in a log file   
by Thamil
on Oct 25 2013 4:17AM
Points : 10
Hello Dev

Pleas verify the below link how to handle errors and logging into log file


please let me know if you need any further details.

Recent Post

Latest Posts