mirror of
https://github.com/rclone/rclone.git
synced 2025-02-21 08:41:40 +08:00
rc: add help to show how to set log level with options/set
This commit is contained in:
parent
f27c2d9760
commit
6e153781a7
@ -74,6 +74,20 @@ Repeated as often as required.
|
||||
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
|
||||
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…
x
Reference in New Issue
Block a user