Skip to content

Config: Resolve log_level setting input value to Logger constant for severity level #261

@olleolleolle

Description

@olleolleolle

This is a feature request: for config option log_level, always convert given input to a Logger constant before setting the value.

The Config log_level setting currently does no resolving, but expects it to be a Logger-compatible level setting. It is used in .setup_logger.

Use-case: call the hutch CLI with an ENV variable set to HUTCH_LOG_LEVEL=DEBUG hutch

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