Is there a way to change the log-level from remote

Hi,

I have started rclone mount with log-level debug.
I would like to switch to log-level info without restarting the rclone mount.

Is there a way to do that ? With rclone rc maybe ?

Assuming you ran the mount with --rc then you can do

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}}'

PS I just added that to the options/set help as an example!

That’s great. Exactly what i have been looking for !

Keep up the good job !

1 Like