I'm writing a Windows Service, and thought it better to create a new Logger
in each call of OnStart
, vs. in the service constructor. That way, I hope changes to the config file will become effective when the service is restarted, without having to somehow restart the process and all the hassles with that.
Then it occurred to me that NLog might only read the file once, when it initialises LogManager
or something, and my precaution is futile.