I am trying to do some quick troubleshooting and was wondering if it was possible to change the log level via the “rc” command. This would be useful to monitor logs then change back once you got your debug info quickly versus having to do the config file change dance especially on a mount command.
I tried things like
I’d be the first to admit that the documentation is a bit sketchy though! I put those commands in to make it possible for people to set options via the rc. They are are options you can set which won’t do anything, however setting LogLevel will work.
What you do is first do options/get to list all the options with their current values. You can they use options/set to set options. These commands have nested objects so you need to use the JSON syntax.
The actual log levels are these (not all used by rclone)