diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-13 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-13 00:00:00 +0000 |
| commit | 361dcd5ca7ecc84209c10d7102051471e82f8160 (patch) | |
| tree | be2acebe04e230c29c6aa48e6bc0212b64367fc4 /compiler/rustc_span | |
| parent | dd4851d503f3fae0c0c742a19e0d8e6e2140bd2a (diff) | |
| download | rust-361dcd5ca7ecc84209c10d7102051471e82f8160.tar.gz rust-361dcd5ca7ecc84209c10d7102051471e82f8160.zip | |
Use debug log level for developer oriented logs
The information logged here is of limited general interest, while at the same times makes it impractical to simply enable logging and share the resulting logs due to the amount of the output produced. Reduce log level from info to debug for developer oriented information. For example, when building cargo, this reduces the amount of logs generated by `RUSTC_LOG=info cargo build` from 265 MB to 79 MB. Continuation of changes from 81350.
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/hygiene.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/hygiene.rs b/compiler/rustc_span/src/hygiene.rs index 9f265f37f35..4ccf657335f 100644 --- a/compiler/rustc_span/src/hygiene.rs +++ b/compiler/rustc_span/src/hygiene.rs @@ -1405,8 +1405,8 @@ fn update_disambiguator(expn_id: ExpnId) { }); if modified { - info!("Set disambiguator for {:?} (hash {:?})", expn_id, first_hash); - info!("expn_data = {:?}", expn_id.expn_data()); + debug!("Set disambiguator for {:?} (hash {:?})", expn_id, first_hash); + debug!("expn_data = {:?}", expn_id.expn_data()); // Verify that the new disambiguator makes the hash unique #[cfg(debug_assertions)] |
