Monday, February 23, 2015

nlog config changes are reflected in real time – and they won’t take effect if the change invalidates the config file

Here’s kind of a nice way to test…. on PROD!


If you need to change your logging configs, you can just do it on your production server. If your changes break anything, they won’t take effect; the already-running configs will stay in place. It won’t crash your application either.


Note, if you stop your application, make a change to the config that breaks the config, the application will not start up. So, hack way… but only while the application process is running!


Fun dangerous things are a blast.





No comments:

Post a Comment