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


#1

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 ?


#2

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

#3

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


#4

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

Keep up the good job !