Skip to content

--log-level flag does not accept other levels #10

@acornett21

Description

@acornett21

Bug Description

It doesn't seem like the log level flag accepts other levels

Version and Command Invocation

discover-workload --version
discover-workload version 0.0.1 (7aa8e2ebe219de47a9859af900161db30c48f053)

Steps to Reproduce:

(How can we reproduce this?)

  1. run with --log-level trace

Expected Result

I'd expect the standard set of log levels to be accepted.

Actual Result

Received the below error

time=2025-05-30T07:51:22.268-07:00 level=WARN msg="fallback log level was used because user-provided value was unrecognized" provided=trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions