btrbk: do not print headers to transaction_log, these are documented in btrbk.conf(5)

pull/88/head
Axel Burri 2016-04-28 12:48:58 +02:00
parent e9e398af37
commit 49ae46d51d
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ btrbk-current
* Bugfix: set correct parent section when propagating targets
(close: #85).
* Add syslog output of transaction log (close #82).
* Do not print headers to transaction log anymore.
btrbk-0.23.0

4
btrbk
View File

@ -334,8 +334,8 @@ sub init_transaction_log($$)
my $config_syslog_facility = shift;
if(defined($file) && (not $dryrun)) {
if(open($tlog_fh, ">> $file")) {
# print headers
print_formatted("transaction", [ ], output_format => "tlog", outfile => $tlog_fh);
# print headers (disabled)
# print_formatted("transaction", [ ], output_format => "tlog", outfile => $tlog_fh);
INFO "Using transaction log: $file";
} else {
$tlog_fh = undef;