From 8f2d7fae7df3bdb5abdf9914ca0e88453a310d00 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 21:29:53 +0200 Subject: Add debug log in select_archive_timespec Signed-off-by: Florian Pritz --- lib/App/BorgRestore.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index ee82d01..a0537cd 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -183,6 +183,7 @@ sub select_archive_timespec { for my $archive (reverse @$archives) { if ($archive->{modification_time} < $target_timestamp) { + $log->debugf("Found archive with timestamp %s", $self->format_timestamp($archive->{modification_time})); return $archive; } } -- cgit v1.2.3-24-g4f1b