summaryrefslogtreecommitdiffstats
path: root/lib/App
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 21:29:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 22:31:49 +0200
commit8f2d7fae7df3bdb5abdf9914ca0e88453a310d00 (patch)
treef8e30216205c75c0cc21e07fd16324975dead10f /lib/App
parente9b840529c7dab8322bcdd35410af7c7c4e0caf7 (diff)
downloadApp-BorgRestore-8f2d7fae7df3bdb5abdf9914ca0e88453a310d00.tar.gz
App-BorgRestore-8f2d7fae7df3bdb5abdf9914ca0e88453a310d00.tar.xz
Add debug log in select_archive_timespec
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App')
-rw-r--r--lib/App/BorgRestore.pm1
1 files changed, 1 insertions, 0 deletions
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;
}
}