From 0087b9f2bb9bebf6c717475922b39dd471ab74f8 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Sat, 20 Dec 2008 15:28:16 +0000 Subject: [PATCH] Add logging --- etc/inc/config.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/config.inc b/etc/inc/config.inc index e1587b7ab7..d10306750a 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -2085,7 +2085,7 @@ endif; exec("cd $rrddbpath;/usr/bin/find *-quality.rrd", $databases); rsort($databases); foreach($databases as $database) { - log_error("Upgrading rrd database {$rrddbpath}{$database}"); + log_error("Migrate RRD database {$rrddbpath}{$database}"); mwexec("$rrdtool tune {$rrddbpath}{$database} -r roundtrip:delay "); } /* let apinger recreate required files */ @@ -2100,6 +2100,7 @@ endif; $xmldumptmp = "{$database}.tmp.xml"; $xmldumpnew = "{$database}.new.xml"; + log_error("Migrate RRD database {$rrddbpath}/{$database} to new format)"; echo "Migrate RRD database {$rrddbpath}/{$database} to new format \n"; /* rename DS source */ mwexec("$rrdtool tune {$rrddbpath}/{$database} -r in:inpass");