From 0c4c82740dde39a45f52cfb5ff93ea881a004cbf Mon Sep 17 00:00:00 2001 From: Adam Uhlir Date: Thu, 21 Feb 2019 17:49:28 -0800 Subject: [PATCH] Add information about logging env. variables (#2692) License: MIT Signed-off-by: Adam Uhlir --- core/commands/log.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/commands/log.go b/core/commands/log.go index 15dac7b53..ef7d2df34 100644 --- a/core/commands/log.go +++ b/core/commands/log.go @@ -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 `, },