Logging.LogLevel not honoured at startup?

Hey team,

I’ve tried setting the Logging__LogLevel__Default environment variable to Debug, but when the app starts, and I navigate to “Settings/General/Diagnostics” the page there tells me that the default logging level is set to “Error”.

I then tried setting the default log level to debug in the appsettings.json file and restarting the app, but it still says “Error”, so I’m not getting the kind of debug logging I need when the app starts.

Can anyone else reproduce this?

Cheers,
Matt

Product: PowerShell Universal
Version: 2.9.2