updated cmdIpfsLog help text
Henry committed
Oct 15, 2014 at 14:04 UTC
0557b1052da601c6631013e029b9aee78b7c8717
1 file changed
+7
-7
cmd/ipfs/log.go
+7
-7
@@ -7,15 +7,15 @@ import (
7
)
8
9
var cmdIpfsLog = &commander.Command{
10
- UsageLine: "log",
11
- Short: "switch logging levels of the daemon",
12
- Long: `ipfs log - manipulate raw ipfs blocks
10
+ UsageLine: "log <name> <level> ",
11
+ Short: "switch logging levels of a running daemon",
12
+ Long: `ipfs log <name> <level> - switch logging levels of a running daemon
13
14
- ipfs log dht error - log error messages from the dht subsystem
15
- ipfs log merkledag debug - print debug output from the merkledag subsystem
16
- ipfs log * critical - change all subsystems to only log critical errors
14
+ <name> is a the subsystem logging identifier. Use * for all subsystems.
15
+ <level> is one of: debug, info, notice, warning, error, critical
16
18
-ipfs block is a utility command used to change the logging output of a running daemon.`,
17
+ipfs log is a utility command used to change the logging output of a running daemon.
18
+`,
19
Run: logCmd,
20
Flag: *flag.NewFlagSet("ipfs-log", flag.ExitOnError),
21
}