Change log level without redeploy for packaged apps
Please allow log level to be changed for packaged apps without redeploy.
Here's my use case and I can't believe I am alone in this... I have an app running at log level Information. There is an issue I want to investigate so I want to increase the log level to Debug or Trace. Because my app is packaged (dotnet if that matters) I can't change the log level without redeploy. That means I have to commit a change to my host.json and rerun my build and deployment pipeline. Adn then back that out afterwards. Because of the need to rebuild I now also have the risk that what I build and deploy is not the same as what is currently running.
I just want a simple way to change the log level. I shouldn't have to rebuild and redeploy my app to achieve that. I appreciate that I could do this without risk by branching the code that was previously built. But if that process is not automated then there is still risk that the wrong code is branched. Okay I could automate working out the commit and then branching/altering/building etc but why should I (and everyone else) have to go to that trouble when we just want to make a simple log level change.
I understand that a restart would be needed to change log level and that's fine.
