diff --git a/core/commands2/log.go b/core/commands2/log.go index 461107b1d..510085c85 100644 --- a/core/commands2/log.go +++ b/core/commands2/log.go @@ -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 ", + // TODO Short: "switch logging levels of a running daemon", + Help: `ipfs log - switch logging levels of a running daemon + + is a the subsystem logging identifier. Use * for all subsystems. + 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 {