@@ -24,8 +24,10 @@ output of a running daemon.
24
24
25
25
There are also two environmental variables that direct the logging
26
26
system (not just for the daemon logs, but all commands):
27
- IPFS_LOGGING - sets the level of verbosity of the logging. One of: debug, info, warning, error, critical
28
- IPFS_LOGGING_FMT - sets formatting of the log output. One of: color, nocolor
27
+ IPFS_LOGGING - sets the level of verbosity of the logging.
28
+ One of: debug, info, warn, error, dpanic, panic, fatal
29
+ IPFS_LOGGING_FMT - sets formatting of the log output.
30
+ One of: color, nocolor
29
31
` ,
30
32
},
31
33
@@ -49,8 +51,8 @@ the event log.
49
51
// TODO use a different keyword for 'all' because all can theoretically
50
52
// clash with a subsystem name
51
53
cmds .StringArg ("subsystem" , true , false , fmt .Sprintf ("The subsystem logging identifier. Use '%s' for all subsystems." , logAllKeyword )),
52
- cmds .StringArg ("level" , true , false , `The log level, with 'debug' the most verbose and 'critical ' the least verbose.
53
- One of: debug, info, warning , error, critical .
54
+ cmds .StringArg ("level" , true , false , `The log level, with 'debug' the most verbose and 'fatal ' the least verbose.
55
+ One of: debug, info, warn , error, dpanic, panic, fatal .
54
56
` ),
55
57
},
56
58
Run : func (req * cmds.Request , res cmds.ResponseEmitter , env cmds.Environment ) error {
0 commit comments