Borg 1.4.x has some rather verbose logging when rebuilding/synchronizing the cache. Currently these logs are logged at the INFO level (and they result in one line per archive). On repositories with a large archive count, they result in unecessary log flooding.
It seems more appropriate to log these specific lines at the DEBUG level instead of INFO.
The lines/logs in question are:
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L872
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L875
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L879
The above lines can be logged at the DEBUG level to reduce some noisy logs.
Without these logs (at INFO), the logs become much more readable:
Synchronizing chunks cache...
Archives: %d, w/ cached Idx: %d, w/ outdated Idx: %d, w/o cached Idx: %d.
Done.
Borg 1.4.x has some rather verbose logging when rebuilding/synchronizing the cache. Currently these logs are logged at the INFO level (and they result in one line per archive). On repositories with a large archive count, they result in unecessary log flooding.
It seems more appropriate to log these specific lines at the DEBUG level instead of INFO.
The lines/logs in question are:
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L872
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L875
https://github.com/borgbackup/borg/blob/1.4-maint/src/borg/cache.py#L879
The above lines can be logged at the DEBUG level to reduce some noisy logs.
Without these logs (at INFO), the logs become much more readable: