mirror of https://github.com/digint/btrbk
btrbk: do not print headers to transaction_log, these are documented in btrbk.conf(5)
parent
e9e398af37
commit
49ae46d51d
|
@ -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
4
btrbk
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue