Skip to content

Commit

Permalink
Enable the tracing-log feature of tracing-subscriber
Browse files Browse the repository at this point in the history
Otherwise the CLI no longer prints `log`-based logging messages.
  • Loading branch information
alexcrichton committed Oct 16, 2023
1 parent 4f49393 commit c664743
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ indexmap = "2.0.0"
pretty_env_logger = "0.5.0"
syn = "2.0.25"
test-log = { version = "0.2", default-features = false, features = ["trace"] }
tracing-subscriber = { version = "0.3.1", default-features = false, features = ['fmt', 'env-filter', 'ansi'] }
tracing-subscriber = { version = "0.3.1", default-features = false, features = ['fmt', 'env-filter', 'ansi', 'tracing-log'] }
url = "2.3.1"

[features]
Expand Down
9 changes: 9 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,15 @@ This is a relatively minor set of releases with minor refactorings and bug
fixes. Nothing fundamental was added in these changes.
"""

[[audits.tracing-log]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
version = "0.1.3"
notes = """
This is a standard adapter between the `log` ecosystem and the `tracing`
ecosystem. There's one `unsafe` block in this crate and it's well-scoped.
"""

[[audits.tracing-subscriber]]
who = "Pat Hickey <[email protected]>"
criteria = "safe-to-deploy"
Expand Down
6 changes: 6 additions & 0 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,12 @@ criteria = "safe-to-deploy"
version = "0.2.1"
notes = "Single unsafe usage that looks sound, no ambient capabilities"

[[audits.embark-studios.audits.valuable]]
who = "Johan Andersson <[email protected]>"
criteria = "safe-to-deploy"
version = "0.1.0"
notes = "No unsafe usage or ambient capabilities, sane build script"

[[audits.embark-studios.audits.webpki-roots]]
who = "Johan Andersson <[email protected]>"
criteria = "safe-to-deploy"
Expand Down

0 comments on commit c664743

Please sign in to comment.