summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-02 14:18:05 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-02 14:18:05 +0200
commitb575355ace040a580d08338caa810230cb508e0c (patch)
tree3ec9c49ce2217d85f267aa2d7a0a6855bc1dc5a8 /lib/App
parentc2746aaf6a675c33961acace63b486a11d7e693c (diff)
downloadApp-BorgRestore-b575355ace040a580d08338caa810230cb508e0c.tar.gz
App-BorgRestore-b575355ace040a580d08338caa810230cb508e0c.tar.xz
Send cache update messages to INFO
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/BorgRestore.pm4
1 files 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;