Code Coverage by Clover.NET

Re: Is it possible to update logging config on a running application?

by Boersnoes :: Rate this Message:

Reply to Author | View in Thread

Yes, this is possible.
Check http://www.nlog-project.org/help/config.html (scroll to Configuration parameters).
The magic is done by adding the autoReload="true" attribute in your config file’s nlog node.

I haven’t tried it yet, but it should be possible.

Boris
LightInTheBox - Buy quality products at wholesale price