This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit e7f0485
committed
rustc_driver: Enable the
This commit changes the `tracing_subscriber` initialization in
`rustc_driver` so that the `WARN` verbosity level is enabled by default
when the `RUSTC_LOG` env variable is empty. If the `RUSTC_LOG` env
variable is set, the filter string in the environment variable is
honored, instead.
Fixes rust-lang#76824
Closes rust-lang#89623
cc @eddyb, @oli-obkWARN log level by default1 parent 680ff86 commit e7f0485
1 file changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
1262 | 1266 | | |
1263 | 1267 | | |
1264 | 1268 | | |
| |||
1278 | 1282 | | |
1279 | 1283 | | |
1280 | 1284 | | |
1281 | | - | |
| 1285 | + | |
1282 | 1286 | | |
1283 | 1287 | | |
1284 | 1288 | | |
| |||
1288 | 1292 | | |
1289 | 1293 | | |
1290 | 1294 | | |
1291 | | - | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
0 commit comments