Skip to content

Commit

Permalink
Add information about logging env. variables (#2692)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Adam Uhlir <[email protected]>
  • Loading branch information
AuHau committed Feb 22, 2019
1 parent 8ffaa62 commit 0c4c827
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/commands/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
`,
},

Expand Down

0 comments on commit 0c4c827

Please sign in to comment.