Skip to content

Commit

Permalink
Rollup merge of rust-lang#77701 - jyn514:debug-logging, r=Mark-Simula…
Browse files Browse the repository at this point in the history
…crum

Make `max_log_info` easily greppable (for figuring out why debug logging is disabled)

Follow-up to rust-lang#77678 (comment). I'll make a PR to the dev-guide shortly changing `debug = true` to `debug-logging = true` and using this text.

Ideally wouldn't be merged before rust-lang#77678, but it practice it won't hurt anything.

r? @Mark-Simulacrum
  • Loading branch information
Dylan-DPC authored Oct 8, 2020
2 parents 2576dc5 + a28f425 commit 4b99066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ changelog-seen = 1
# Overrides the `debug-assertions` option, if defined.
#
# Defaults to rust.debug-assertions value
#
# If you see a message from `tracing` saying
# `max_level_info` is enabled and means logging won't be shown,
# set this value to `true`.
#debug-logging = debug-assertions

# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
Expand Down

0 comments on commit 4b99066

Please sign in to comment.