rc: add help to show how to set log level with options/set
This commit is contained in:
parent
f27c2d9760
commit
6e153781a7
1 changed files with 14 additions and 0 deletions
|
@ -74,6 +74,20 @@ Repeated as often as required.
|
||||||
Only supply the options you wish to change. If an option is unknown
|
Only supply the options you wish to change. If an option is unknown
|
||||||
it will be silently ignored. Not all options will have an effect when
|
it will be silently ignored. Not all options will have an effect when
|
||||||
changed like this.
|
changed like this.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
This sets DEBUG level logs (-vv)
|
||||||
|
|
||||||
|
rclone rc options/set --json '{"main": {"LogLevel": 8}}'
|
||||||
|
|
||||||
|
And this sets INFO level logs (-v)
|
||||||
|
|
||||||
|
rclone rc options/set --json '{"main": {"LogLevel": 7}}'
|
||||||
|
|
||||||
|
And this sets NOTICE level logs (normal without -v)
|
||||||
|
|
||||||
|
rclone rc options/set --json '{"main": {"LogLevel": 6}}'
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue