Repro steps:
- Change the deployment to use:
env:
- name: DEBUG_LEVEL
value: TRACE
- Restart Dinghy
- Observe in the logs that it is still using INFO
This is because
|
logLevelStr := util.GetenvOrDefault("DEBUG_LEVEL", "info") |
right afterwards it checks for the settings in the config file. However there's a default of INFO set for that, so it will never be unset.
Repro steps:
This is because
dinghy/cmd/dinghy.go
Line 71 in 3c33937