feat: logging: Enable per-module log level · Issue #79 · cloudflare/foundations · GitHub
Skip to content

feat: logging: Enable per-module log level #79

Open

Description

@agrover

One very handy feature of env_logger (which Foundations doesn't use afact) is that one can set log level on a per-module basis. I'd very much like this capability, because some crates we are using (e.g. Hyper) log a lot at DEBUG level, and this is noise when looking at the debug logs from our actual app.

Anyway, I've been poking around the code in telemetry/log/init.rs a little. Wanted to open an issue in case anyone else had this on their radar and was already looking at this, or else feel free to assign to me and I can take a stab at a PR. Thanks.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions