Skip to content

Honor RUST_LOG for development output #127

Open

Description

@aram356

Description

Respect the RUST_LOG environment variable for development-server logging, with documented precedence against EdgeZero logging configuration.

The CLI logger fixes its maximum level to Info and drops Debug/Trace. Axum initializes SimpleLogger from EDGEZERO__LOGGING__LEVEL; neither path reads RUST_LOG.

Steps to reproduce

  1. Inspect CLI logger filtering and initialization.
  2. Inspect the native development runner's logging-level resolution.

Expected behavior

A developer can select development log verbosity through RUST_LOG without changing code.

Impact

A familiar development logging control currently has no effect, obscuring debug output.

Proposed fix

Implement an explicit filter/precedence contract for runtime development logs and preserve predictable command-result output.

Done when

  • Supported RUST_LOG syntax affects development logging.
  • Precedence with EDGEZERO__LOGGING__LEVEL/manifest defaults is documented and tested.
  • Invalid filters have clear fallback/error behavior.
  • Debug/trace runtime events can be observed without changing application source.

Related

Activity

  1. changed the title [-]RUST_LOG support[/-] [+]Honor RUST_LOG for development output[/+] on Nov 9, 2026
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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions