Skip to content

Commit 0444840

Browse files
Rollup merge of #77701 - jyn514:debug-logging, r=Mark-Simulacrum
Make `max_log_info` easily greppable (for figuring out why debug logging is disabled) Follow-up to #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 #77678, but it practice it won't hurt anything. r? @Mark-Simulacrum
2 parents 48c1ca1 + a28f425 commit 0444840

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.toml.example

+4
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@ changelog-seen = 1
382382
# Overrides the `debug-assertions` option, if defined.
383383
#
384384
# Defaults to rust.debug-assertions value
385+
#
386+
# If you see a message from `tracing` saying
387+
# `max_level_info` is enabled and means logging won't be shown,
388+
# set this value to `true`.
385389
#debug-logging = debug-assertions
386390

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

0 commit comments

Comments
 (0)