Add information about logging env. variables (#2692)

License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
This commit is contained in:
Adam Uhlir 2019-02-21 17:49:28 -08:00
parent 8ffaa62f98
commit 0c4c82740d
No known key found for this signature in database
GPG Key ID: EEE50805990FD8A6

View File

@ -22,6 +22,11 @@ var LogCmd = &cmds.Command{
ShortDescription: `
'ipfs log' contains utility commands to affect or read the logging
output of a running daemon.
There are also two environmental variables that direct the logging
system (not just for the daemon logs, but all commands):
IPFS_LOGGING - sets the level of verbosity of the logging. One of: debug, info, warning, error, critical
IPFS_LOGGING_FMT - sets formatting of the log output. One of: color, nocolor
`,
},