I’ve found a discussion in a PR that raised a question I would like to understand.
It’s in this PR https://github.com/Particular/NServiceBus/pull/5230
Link to comment / code https://github.com/Particular/NServiceBus/pull/5230#discussion_r209986647
Doesn’t the static usage of the ILog eliminate the possibility to change the LogLevel while the process is running? e.g. when using
log4net.Config.XmlConfigurator.ConfigureAndWatch() I could easily change the log4net.config file to log on a DEBUG level temporarily. But, I suspect the static field ILog would prevent this from happening without unloading the AppDomain (e.g. restarting the process).
Thank you for your clarification