-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Currently EnvironmentVariablesConfigurationProvider replaces __ with :.
I propose to do something similar for dot.
Use case:
I need to configure logging in an asp.net core app hosted in Azure Container Instance.
I want to set one specific logger to Trace, so I need to set the configuration key Logging:LogLevel:Company.Namespace.MyCustomMiddleware = Trace.
Locally on my windows PC I can run
set Logging__LogLevel__Company.Namespace.MyCustomMiddleware=Trace
and everything works.
When I try to do it in Azure App Service, it doesn't allow me to create the container, even though it is a windows container:
Request: Please add a replacement for ., similar to :.
Workaround: I can do a code change to change the name of the logger, this works as long as it is first party code, not third party.
