@cryptotaxi247 / kubo / commits / 05d0573e0

update log helptext to match actual levels

Dominic Della Valle committed Apr 22, 2020 at 21:02 UTC 05d0573e0254dfd914a1b87b7b36637b2070af4d
1 file changed +3 -3
core/commands/log.go
+3 -3
@@ -24,7 +24,7 @@ output of a running daemon.
24
25 There are also two environmental variables that direct the logging
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
27 + IPFS_LOGGING - sets the level of verbosity of the logging. One of: debug, info, warn, error, dpanic, panic, fatal
28 IPFS_LOGGING_FMT - sets formatting of the log output. One of: color, nocolor
29 `,
30 },
@@ -49,8 +49,8 @@ the event log.
49 // TODO use a different keyword for 'all' because all can theoretically
50 // clash with a subsystem name
51 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.
52 + cmds.StringArg("level", true, false, `The log level, with 'debug' the most verbose and 'fatal' the least verbose.
53 + One of: debug, info, warn, error, dpanic, panic, fatal.
54 `),
55 },
56 Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {