Disable Logging

Thomas Ardal, October 5, 2016

A question that we often get is "how do I temporarily disable logging?". Until now, our answer has been to comment out the errorLog element in web.config or similar for our range of integrations. Making local code changes (maybe directly in production? Uf!) isn't really a great way to disable logging. That's why we now have a disable button on log settings:

Disable logging

Click the Disable button and we stop logging your messages until you click the button again. Nothing needs to be changed on your end, since ignoring the errors happen in our backend.


This post was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening and help you fix errors fast.

Monitor your website



Comments