Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Logging - log4net or health monitoring?

I'm looking at a fresh asp.net site in 3.5 that has absolutely no error handling or logging. What are some good options for logging and handling errors? I've used Log4Net on the 1.1 framework but hear there are potentially better options in 3.5.

like image 218
Caveatrob Avatar asked Mar 16 '09 19:03

Caveatrob


1 Answers

One option is ELMAH. I asked a question about it here: ASP.NET Error Handling.

Since then, I have implemented a slightly modified version of it and the logging plus e-mail is great and easy to integrate via the web.config file.

like image 140
DCNYAM Avatar answered Sep 22 '22 13:09

DCNYAM