Code Coverage by Clover.NET

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

by Waveslam :: Rate this Message:

Reply to Author | View in Thread

Hi
Sorry for the n00b question but I am evaluating NLog for use in our company and one of the questions that has been asked is whether it is possible to modify the logging target config and apply the changed settings without restarting the application? For example, if an app suddenly starts behaving strangely, can I modify the minlevel setting of a file target to now include debug level logging output and have this changed setting take effect (i.e have it start logging debug entries to file) without restarting the application?
Cheers
Brett
LightInTheBox - Buy quality products at wholesale price