Skip to content

Document accepted --log-level values and reject unknown levels at startup #364

Description

@sozercan

The --log-level serve flag (and LOG_LEVEL env) only says "Log level" in its help text. Users cannot tell which values are accepted.

Requested:

  1. The flag help string should enumerate the accepted levels (for example debug, info, warn, error) and the default.
  2. An unknown level should fail fast at startup with a clear error naming the accepted values instead of silently falling back.
  3. Add a unit test covering the rejection of an unknown level.
  4. Mention the accepted values in README.md where --log-level is documented (add a line if it is not documented yet).

Keep the change small and focused.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    orka:implementOrka command: implement issueorka:planOrka command: create issue planorka:researchOrka command: research issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions