I have implemented Elmah logging error by using this article in one of my applications and it is running fine as expected.
Now as per the requirements I have to stop logging error dynamically that will handle by the user either user will run logging error or not by simply set in web.config.
But I have no idea how to stop it dynamically and I have also read this article but I am not able to stop logging errors.
Is anything I am missing or I should change?