Add information about logging env. variables (#2692)
License: MIT Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
Adam Uhlir committed
Feb 21, 2019 at 17:49 UTC
0c4c82740dde39a45f52cfb5ff93ea881a004cbf
1 file changed
+5
core/commands/log.go
+5
@@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
22
ShortDescription: `
23
'ipfs log' contains utility commands to affect or read the logging
24
output of a running daemon.
25
+
26
+There are also two environmental variables that direct the logging
27
+system (not just for the daemon logs, but all commands):
28
+ IPFS_LOGGING - sets the level of verbosity of the logging. One of: debug, info, warning, error, critical
29
+ IPFS_LOGGING_FMT - sets formatting of the log output. One of: color, nocolor
30
`,
31
},
32