Commit 229b22f9 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

docs(log) help

making docs match command:
        name -> subsystem. Is the desired name?
parent 48d65c6d
......@@ -12,7 +12,15 @@ var logCmd = &cmds.Command{
cmds.Argument{"subsystem", cmds.ArgString, true, false},
cmds.Argument{"level", cmds.ArgString, true, false},
},
Help: "TODO",
// TODO UsageLine: "log <name> <level> ",
// TODO Short: "switch logging levels of a running daemon",
Help: `ipfs log <subsystem> <level> - switch logging levels of a running daemon
<subsystem> is a the subsystem logging identifier. Use * for all subsystems.
<level> is one of: debug, info, notice, warning, error, critical
ipfs log is a utility command used to change the logging output of a running daemon.
`,
Run: func(res cmds.Response, req cmds.Request) {
args := req.Arguments()
if err := u.SetLogLevel(args[0].(string), args[1].(string)); err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment