about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authormark <markm@cs.wisc.edu>2019-03-19 18:50:01 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-03-23 18:39:14 -0500
commitd3eb9dc1b63ccd9efcf1d9f35f9a6222f354ecdb (patch)
treecd9d42d2dc94af65a21842097ddd83b2f67bdd7b /src/doc/rustc-dev-guide
parentc1c0a4ef507ba477b5cbb4154acec48b76a9b93e (diff)
downloadrust-d3eb9dc1b63ccd9efcf1d9f35f9a6222f354ecdb.tar.gz
rust-d3eb9dc1b63ccd9efcf1d9f35f9a6222f354ecdb.zip
Use eddyb's suggestion from #11 about logging
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-debugging.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md
index 714385ca051..6747fd31cbc 100644
--- a/src/doc/rustc-dev-guide/src/compiler-debugging.md
+++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md
@@ -162,9 +162,10 @@ your log filter, e.g. to get the logs for a specific module, you can run the
 compiler as `RUST_LOG=module::path rustc my-file.rs`. All `debug!` output will
 then appear in standard error.
 
-Note that unless you use a very strict filter, the logger will emit a *lot*
-of output - so it's typically a good idea to pipe standard error to a file
-and look at the log output with a text editor.
+**Note that unless you use a very strict filter, the logger will emit a lot of
+output, so use the most specific module(s) you can (comma-separated if
+multiple)**. It's typically a good idea to pipe standard error to a file and
+look at the log output with a text editor. You should also .
 
 So to put it together.