cloudflare / cloudflare/foundations

feat: logging: Enable per-module log level

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
133
Avg merge
1d 5h
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.