Avoid "INFO : vfs cache: cleaned: objects"

Hi.
Is there an option to avoid these messages. The log fills up quickly with these.

2023/10/08 21:05:11 INFO  : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 1.210Ki (was 1.210Ki)
2023/10/08 21:06:08 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/10/08 21:06:11 INFO  : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 1.210Ki (was 1.210Ki)
2023/10/08 21:07:08 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/10/08 21:07:11 INFO  : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 1.210Ki (was 1.210Ki)
2023/10/08 21:08:08 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/10/08 21:08:11 INFO  : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 1.210Ki (was 1.210Ki)

my command is:

rclone mount $service_name: $service_path --log-file $rclonelog --log-level INFO --vfs-cache-mode writes &

PD: I can't use log-level NOTICE as it doesn't log anything and I need the logs of the mounted folder (creation|deletion|modification of files and folders)

thanks

Nope. That's it as INFO logs that. You can't change that.

Can i at least limit the maximum number of entries of this type?

You can change the vfs-cache poll interval, but that makes it pick up changes slower. Why run INFO? Just run NOTICE then.

as I mentioned above NOTICE does not log any change activity in the mounted folder of creation|deletion|modification of files and folders

INFO doesn't capture that. You'd have to be on DEBUG or -vv for that.

Yes it does.

2023/10/09 08:11:12 INFO  : archivo nuevo: vfs cache: queuing for upload in 5s
2023/10/09 08:11:18 INFO  : archivo nuevo: Copied (new)
2023/10/09 08:11:18 INFO  : archivo nuevo: vfs cache: upload succeeded try #1
2023/10/09 08:11:57 INFO  : archivo nuevo: vfs cache: renamed in cache to "foo"
2023/10/09 08:12:21 INFO  : .goutputstream-21KXC2: vfs cache: renamed in cache to "foo"
2023/10/09 08:12:21 INFO  : foo: vfs cache: queuing for upload in 5s
2023/10/09 08:12:21 INFO  : foo: vfs cache: queuing for upload in 5s

I already solved it, sending the logs to a temporary in the mount command and then debugging with grep:

grep -v 'vfs cache: cleaned:' $local_path/rclone.tmp > $rclonelog

can you close this thread

No it does not.

That's when it is uploading it not when it's creating it.

If you want that ^^^^

You need debug.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.