What's the best practice for changing the logging level for nLog in a production environment. The only way I can change it is to modify the NLog.config file, and then recycle the app pool. Is that how it should be done?
Thanks,
Chris
If you want to change logging configuration, without restarting application, you should set autoReload="true".
NLog.config file:
<nlog autoReload="true">
...
</nlog>
More: https://github.com/nlog/NLog/wiki/Configuration-file#wiki-automatic-reconfiguration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With