1
mirror of https://github.com/rclone/rclone synced 2024-09-03 21:31:30 +02:00

rc: add help to show how to set log level with options/set

This commit is contained in:
Nick Craig-Wood 2019-02-03 11:18:34 +00:00
parent f27c2d9760
commit 6e153781a7

View File

@ -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}}'
`,
})
}