File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Environment variables
2
2
3
+ - ` RUST_LOG ` (default: none). Enables Rustup's "custom logging mode". In this mode,
4
+ the verbosity of Rustup's log lines can be specified with ` tracing_subscriber ` 's
5
+ [ directive syntax] . For example, set ` RUST_LOG=rustup=DEBUG ` to receive log lines
6
+ from ` rustup ` itself with a maximal verbosity of ` DEBUG ` .
7
+
3
8
- ` RUSTUP_HOME ` (default: ` ~/.rustup ` or ` %USERPROFILE%/.rustup ` ). Sets the
4
9
root ` rustup ` folder, used for storing installed toolchains and
5
10
configuration options.
29
34
determines the directory that traces will be written too. Traces are of the
30
35
form PID.trace. Traces can be read by the Catapult project [ tracing viewer] .
31
36
32
- - ` RUSTUP_DEBUG ` * unstable* . When set, enables rustup's debug logging.
33
-
34
37
- ` RUSTUP_TERM_COLOR ` (default: ` auto ` ). Controls whether colored output is used in the terminal.
35
38
Set to ` auto ` to use colors only in tty streams, to ` always ` to always enable colors,
36
39
or to ` never ` to disable colors.
47
50
feature sacrifices some transactions protections and may be removed at any
48
51
point. Linux only.
49
52
53
+ [ directive syntax ] : https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
50
54
[ dc ] : https://docs.docker.com/storage/storagedriver/overlayfs-driver/#modifying-files-or-directories
51
55
[ override ] : overrides.md
52
56
[ tracing viewer ] : https://github.com/catapult-project/catapult/blob/master/tracing/README.md
Original file line number Diff line number Diff line change @@ -305,13 +305,6 @@ impl<'a> Executor for Threaded<'a> {
305
305
self . tx
306
306
. send ( Task :: Sentinel )
307
307
. expect ( "must still be listening" ) ;
308
- if crate :: currentprocess:: process ( ) . var ( "RUSTUP_DEBUG" ) . is_ok ( ) {
309
- // debug! is in the cli layer. erg. And notification stack is still terrible.
310
- debug ! ( "" ) ;
311
- for ( bucket, pool) in & self . vec_pools {
312
- debug ! ( "{:?}: {:?}" , bucket, pool) ;
313
- }
314
- }
315
308
Box :: new ( JoinIterator {
316
309
executor : self ,
317
310
consume_sentinel : false ,
You can’t perform that action at this time.
0 commit comments