Wednesday, 1 February 2012

NLog - auto-reconfiguration and bundling logs for email.

Today I learned that NLog normally needs to be told to reload its configuration file when it changes (thought automatic reloading was the default).  To enable automatic reloading, add autoReload="true" to the <nlog> tag.  Documentation here.


Also learned that NLog buffering is implemented using the BufferingWrapper target which means I don't need to spam logs any more.

No comments:

Post a Comment