Skip to content

Commit 9b06a12

Browse files
committed
Use eddyb's suggestion from #11 about logging
1 parent 9df878f commit 9b06a12

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/compiler-debugging.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,10 @@ your log filter, e.g. to get the logs for a specific module, you can run the
162162
compiler as `RUST_LOG=module::path rustc my-file.rs`. All `debug!` output will
163163
then appear in standard error.
164164
165-
Note that unless you use a very strict filter, the logger will emit a *lot*
166-
of output - so it's typically a good idea to pipe standard error to a file
167-
and look at the log output with a text editor.
165+
**Note that unless you use a very strict filter, the logger will emit a lot of
166+
output, so use the most specific module(s) you can (comma-separated if
167+
multiple)**. It's typically a good idea to pipe standard error to a file and
168+
look at the log output with a text editor. You should also .
168169
169170
So to put it together.
170171

0 commit comments

Comments
 (0)