Skip to content

DEBUG_LEVEL env variable is overridden by default config #109

@pselden

Description

@pselden

Repro steps:

  1. Change the deployment to use:
env:
- name: DEBUG_LEVEL
   value: TRACE
  1. Restart Dinghy
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions