From 08cee13c03192d7ff80f25591d995b01988a5888 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 Nov 2024 17:43:54 +0100 Subject: [PATCH] rrd: do not log tree info-level messages on applying journal That's rather excessive and has not much value for users. So degrade two of the messages to debug-level. Signed-off-by: Thomas Lamprecht --- proxmox-rrd/src/cache.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-rrd/src/cache.rs b/proxmox-rrd/src/cache.rs index 40405037..602b8227 100644 --- a/proxmox-rrd/src/cache.rs +++ b/proxmox-rrd/src/cache.rs @@ -448,7 +448,7 @@ fn commit_journal_impl( let mut dir_set = BTreeSet::new(); - log::info!("write rrd data back to disk"); + log::debug!("write rrd data back to disk"); // save all RRDs - we only need a read lock here // Note: no fsync here (we do it afterwards) @@ -470,7 +470,7 @@ fn commit_journal_impl( // the likelihood that files are already synced, so this is // much faster (although we need to re-open the files). - log::info!("starting rrd data sync"); + log::debug!("starting rrd data sync"); for rel_path in files.iter() { let mut path = config.basedir.clone();