From 5ed95347f5fc35835a85e7199a47c94fba77c514 Mon Sep 17 00:00:00 2001 From: Adam Uhlir Date: Thu, 21 Feb 2019 17:37:13 -0800 Subject: [PATCH 1/4] Updating synopsis License: MIT Signed-off-by: Adam Uhlir --- core/commands/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/root.go b/core/commands/root.go index aa1569f6246..d7eaf5570ea 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -29,7 +29,7 @@ const ( var Root = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Global p2p merkle-dag filesystem.", - Synopsis: "ipfs [--config= | -c] [--debug= | -D] [--help=] [-h=] [--local= | -L] [--api=] ...", + Synopsis: "ipfs [--config= | -c] [--debug | -D] [--help] [-h] [--local | -L] [--api=] [--offline] [--cid-base=] [--upgrade-cidv0-in-output] [--encoding= | --enc] [--stream-channels] [--timeout=] ...", Subcommands: ` BASIC COMMANDS init Initialize ipfs local configuration From 8ffaa62f9847efca8b5857084850a03802a17f20 Mon Sep 17 00:00:00 2001 From: Adam Uhlir Date: Thu, 21 Feb 2019 17:39:28 -0800 Subject: [PATCH 2/4] Adding information about 'ipfs log' subcommand License: MIT Signed-off-by: Adam Uhlir --- core/commands/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/commands/root.go b/core/commands/root.go index d7eaf5570ea..bd293cbe4c2 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -72,6 +72,7 @@ TOOL COMMANDS update Download and apply go-ipfs updates commands List all available commands cid Convert and discover properties of CIDs + log Manage and show logs of running daemon Use 'ipfs --help' to learn more about each command. From 0c4c82740dde39a45f52cfb5ff93ea881a004cbf Mon Sep 17 00:00:00 2001 From: Adam Uhlir Date: Thu, 21 Feb 2019 17:49:28 -0800 Subject: [PATCH 3/4] 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 15dac7b5357..ef7d2df3480 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 `, }, From 5e5c040cc37d5e4984fb37940ee93f1e4f323937 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 1 Mar 2019 14:52:00 -0800 Subject: [PATCH 4/4] commands(help): remove --local and --stream-chanels options Users should use --offline instead of --local and --stream-channels is sent by default (and doesn't do anything as far as I can tell)... License: MIT Signed-off-by: Steven Allen --- core/commands/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/root.go b/core/commands/root.go index bd293cbe4c2..3ce6dc5673d 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -29,7 +29,7 @@ const ( var Root = &cmds.Command{ Helptext: cmdkit.HelpText{ Tagline: "Global p2p merkle-dag filesystem.", - Synopsis: "ipfs [--config= | -c] [--debug | -D] [--help] [-h] [--local | -L] [--api=] [--offline] [--cid-base=] [--upgrade-cidv0-in-output] [--encoding= | --enc] [--stream-channels] [--timeout=] ...", + Synopsis: "ipfs [--config= | -c] [--debug | -D] [--help] [-h] [--api=] [--offline] [--cid-base=] [--upgrade-cidv0-in-output] [--encoding= | --enc] [--timeout=] ...", Subcommands: ` BASIC COMMANDS init Initialize ipfs local configuration