summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 13:21:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 13:42:15 +0200
commitd047ab5817d114ca1830bbfbefc23ee4a216222d (patch)
treed03986705a551478bfe980904e417b21606d7f71
parent6267cc40f59bd581a20354099b8838c40280f035 (diff)
downloadApp-BorgRestore-d047ab5817d114ca1830bbfbefc23ee4a216222d.tar.gz
App-BorgRestore-d047ab5817d114ca1830bbfbefc23ee4a216222d.tar.xz
Fix width of milliseconds in debug log format
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xscript/borg-restore.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl
index 71ac8b4..90bf446 100755
--- a/script/borg-restore.pl
+++ b/script/borg-restore.pl
@@ -227,7 +227,7 @@ sub main {
my $logger = Log::Log4perl->get_logger('');
$logger->level($DEBUG);
Log::Log4perl->appenders()->{"screenlog"}->layout(
- Log::Log4perl::Layout::PatternLayout->new("%d %r [%30c:%-4L] %p %m%n"));
+ Log::Log4perl::Layout::PatternLayout->new("%d %8r [%30c:%-4L] %p %m%n"));
}
$app = App::BorgRestore->new();