about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-10-08 23:23:15 +0200
committerGitHub <noreply@github.com>2020-10-08 23:23:15 +0200
commit044484078bc45faa6e22e38384a82f515bac0827 (patch)
tree32200e084f998bc20011d7bf69a11a952979d9ea
parent48c1ca15bb39ce63d468f286aa187833a72240ea (diff)
parenta28f425ad7615761eaae9c9263fb8f657c21f839 (diff)
downloadrust-044484078bc45faa6e22e38384a82f515bac0827.tar.gz
rust-044484078bc45faa6e22e38384a82f515bac0827.zip
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 https://github.com/rust-lang/rust/pull/77678#issuecomment-705545608. 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 https://github.com/rust-lang/rust/pull/77678, but it practice it won't hurt anything.

r? @Mark-Simulacrum
-rw-r--r--config.toml.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index c5efb8ed5e5..6dc9eccbdfc 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -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`.