From b575355ace040a580d08338caa810230cb508e0c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 2 Aug 2018 14:18:05 +0200 Subject: Send cache update messages to INFO Signed-off-by: Florian Pritz --- lib/App/BorgRestore.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index aa71ded..8bd19e0 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -448,7 +448,7 @@ method _handle_removed_archives($borg_archives) { if (@$remove_archives) { for my $archive (@$remove_archives) { - $log->debugf("Removing archive %s", $archive); + $log->infof("Removing archive %s", $archive); $self->{db}->begin_work; $self->{db}->remove_archive($archive); $self->{db}->commit; @@ -469,7 +469,7 @@ method _handle_added_archives($borg_archives) { my $start = Time::HiRes::gettimeofday(); my $lookuptable = [{}, 0]; - $log->debugf("Adding archive %s", $archive); + $log->infof("Adding archive %s", $archive); $self->{borg}->list_archive($archive, sub { my $line = shift; -- cgit v1.2.3-24-g4f1b