Kent J. Chen's WebLog

...information technology, internet, and random thoughts

HackerSafe and ELMAH

ELMAH, the Error Logging Modules and Handlers, is a error logging system that I used on every website I made to capture every exceptional error page.  It's very easy to plug into your web application, just throw in the DLL file into the bin folder and put a few lines of code in web.config file, and works like charm.  It's extremely vital when launching the new website but also very useful and handy to have on the go.

However, it becomes not so useful when HackerSafe, an online service that tells people the site with its seal on it is bullet safe, joins in.  Because HackerSafe needs to scan your site and do a series of automated security tests every day, it sure generates tons of errors from the website.  If the ELMAH logs the error in database, the errors HackerSafe generate eat database space like crazy.  Worse, if your database has the quote assigned, it will be shutdown pretty quick and the website that rely on this database will be down the same time too.  And more, if you set up to receive the notification when every error is generated, your email box soon will be full and stopped working pretty soon too.  It's absolutely nightmare.

And yes, I just had been through this nightmare not so long ago.  Because HackerSafe has more value to have on the site at the moment, I have to say good-bye to ELMAH for the time being until I figure it out a way to accommodate these two the same time.

Print | posted on Thursday, April 10, 2008 11:22 PM | Filed Under [ Stuff in General ]

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 4 and 7 and type the answer here:

My Recent Posts

-->