mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +08:00
Merge pull request #3160 from JesseWeinstein/doc/cmds/log_notice_unused
Doc/cmds/log notice unused
This commit is contained in:
@ -35,8 +35,7 @@ var logLevelCmd = &cmds.Command{
|
|||||||
Helptext: cmds.HelpText{
|
Helptext: cmds.HelpText{
|
||||||
Tagline: "Change the logging level.",
|
Tagline: "Change the logging level.",
|
||||||
ShortDescription: `
|
ShortDescription: `
|
||||||
'ipfs log level' is a utility command used to change the logging
|
Change the verbosity of one or all subsystems log output. This does not affect the event log.
|
||||||
output of a running daemon.
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -45,7 +44,7 @@ output of a running daemon.
|
|||||||
// clash with a subsystem name
|
// clash with a subsystem name
|
||||||
cmds.StringArg("subsystem", true, false, fmt.Sprintf("The subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
|
cmds.StringArg("subsystem", true, false, fmt.Sprintf("The subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
|
||||||
cmds.StringArg("level", true, false, `The log level, with 'debug' the most verbose and 'critical' the least verbose.
|
cmds.StringArg("level", true, false, `The log level, with 'debug' the most verbose and 'critical' the least verbose.
|
||||||
One of: debug, info, notice, warning, error, critical.
|
One of: debug, info, warning, error, critical.
|
||||||
`),
|
`),
|
||||||
},
|
},
|
||||||
Run: func(req cmds.Request, res cmds.Response) {
|
Run: func(req cmds.Request, res cmds.Response) {
|
||||||
@ -91,9 +90,9 @@ subsystems of a running daemon.
|
|||||||
|
|
||||||
var logTailCmd = &cmds.Command{
|
var logTailCmd = &cmds.Command{
|
||||||
Helptext: cmds.HelpText{
|
Helptext: cmds.HelpText{
|
||||||
Tagline: "Read the logs.",
|
Tagline: "Read the event log.",
|
||||||
ShortDescription: `
|
ShortDescription: `
|
||||||
'ipfs log tail' is a utility command used to read log output as it is written.
|
Outputs event log messages (not other log messages) as they are generated.
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user