Enable/Disable Enterprise Library logging on production
问题 On my production, I don't want to have log entry with severity Verbose (or Debug). I need only the info, error etc. What is the right method to enable and disable logging (the debug entries)? I did some research and one possibility is to use Custom Filter class to enable and disable all logs with severity "verbose". But When deploying application on production, what is the right way to enable and disable? 回答1: You can set your logging level in your config file, that way, should you need it in