You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we deploy our services in k8s we need to override level switch initial log level via environment variable. At the same time levelSwitchName must start with $ sign which is not allowed for env variable name.
Error: "Invalid value: "serilog__levelSwitches__$logLevelSwitch": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit"
The text was updated successfully, but these errors were encountered:
Since we deploy our services in k8s we need to override level switch initial log level via environment variable. At the same time levelSwitchName must start with
$
sign which is not allowed for env variable name.How can initialLevel can be overriden?
Example:
Error:
"Invalid value: "serilog__levelSwitches__$logLevelSwitch": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit"
The text was updated successfully, but these errors were encountered: