From 6e153781a7bd4e0cb39b5612dd29981eb21cd39b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 3 Feb 2019 11:18:34 +0000 Subject: [PATCH] rc: add help to show how to set log level with options/set --- fs/rc/config.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/fs/rc/config.go b/fs/rc/config.go index 0288749a1..741a7c55c 100644 --- a/fs/rc/config.go +++ b/fs/rc/config.go @@ -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}}' `, }) }