How do I dynamically reload the app.config in a .net Windows application? I need to turn logging on and off dynamically and not just based upon the value at application sta
I think I read in the log4net documentation that this is not possible.
Try having the logging in an external logfile that can be watched with a filesystemwatcher
Update: Found it again.. http://logging.apache.org/log4net/release/manual/configuration.html#.config%20Files
There is no way to reload the app.config during runtime.