summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 14:39:01 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 14:41:18 +0200
commit87e3939bb04256b441f3e3e2e903abf299511719 (patch)
tree128ec6f3c2e62500389410d4a5c145dd3f8873a2 /script
parent6fde9fdb0ca1c09e1bc7b1892b5a151e2f9bd9db (diff)
downloadApp-BorgRestore-87e3939bb04256b441f3e3e2e903abf299511719.tar.gz
App-BorgRestore-87e3939bb04256b441f3e3e2e903abf299511719.tar.xz
Ensure log4perl dependencies are included in use statements
https://metacpan.org/pod/Log::Log4perl::FAQ#How-come-PAR-(Perl-Archive-Toolkit)-creates-executables-which-then-can't-find-their-Log::Log4perl-appenders? Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-xscript/borg-restore.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl
index a6d3b43..aa7117c 100755
--- a/script/borg-restore.pl
+++ b/script/borg-restore.pl
@@ -168,7 +168,9 @@ use Getopt::Long;
use Log::Any qw($log);
use Log::Any::Adapter;
use Log::Log4perl;
-use Log::Log4perl::Layout;
+use Log::Log4perl::Appender::Screen;
+use Log::Log4perl::Appender::ScreenColoredLevels;
+use Log::Log4perl::Layout::PatternLayout;
use Log::Log4perl::Level;
use Pod::Usage;