mirror of https://github.com/digint/btrbk
btrbk: remove "duration" column from transaction_log/transaction_syslog
The "duration" column in the transaction log has proven to be confusing to some users, especially on errors (e.g. "send-receive ERROR 27" in issue #177). As it's not really necessary (duration can be computed from the corresponding "starting" log entry), it's now being dropped.pull/180/head
parent
6acea6a08d
commit
88aa8c1fea
|
@ -4,6 +4,7 @@ btrbk-current
|
||||||
line option (which is now deprecated).
|
line option (which is now deprecated).
|
||||||
* Add "snapshot" command (close #150).
|
* Add "snapshot" command (close #150).
|
||||||
* Add "--preserve-snapshots" and "--preserve-backups" options.
|
* Add "--preserve-snapshots" and "--preserve-backups" options.
|
||||||
|
* Remove "duration" column from transaction_log/transaction_syslog.
|
||||||
* Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer).
|
* Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer).
|
||||||
* Bugfix: print correct (end-)time in transaction_log.
|
* Bugfix: print correct (end-)time in transaction_log.
|
||||||
|
|
||||||
|
|
4
btrbk
4
btrbk
|
@ -202,9 +202,9 @@ my %table_formats = (
|
||||||
|
|
||||||
transaction => { table => [ qw( type status target_host target_subvol source_host source_subvol parent_subvol ) ],
|
transaction => { table => [ qw( type status target_host target_subvol source_host source_subvol parent_subvol ) ],
|
||||||
long => [ qw( localtime type status duration target_host target_subvol source_host source_subvol parent_subvol message ) ],
|
long => [ qw( localtime type status duration target_host target_subvol source_host source_subvol parent_subvol message ) ],
|
||||||
|
tlog => [ qw( localtime type status target_url source_url parent_url message ) ],
|
||||||
|
syslog => [ qw( type status target_url source_url parent_url message ) ],
|
||||||
raw => [ qw( time localtime type status duration target_url source_url parent_url message ) ],
|
raw => [ qw( time localtime type status duration target_url source_url parent_url message ) ],
|
||||||
tlog => [ qw( localtime type status duration target_url source_url parent_url message ) ],
|
|
||||||
syslog => [ qw( type status duration target_url source_url parent_url message ) ],
|
|
||||||
},
|
},
|
||||||
|
|
||||||
origin_tree => { table => [ qw( tree uuid parent_uuid received_uuid ) ],
|
origin_tree => { table => [ qw( tree uuid parent_uuid received_uuid ) ],
|
||||||
|
|
|
@ -76,8 +76,8 @@ allowed.
|
||||||
.RS 4
|
.RS 4
|
||||||
If set, all transactions (snapshot create, subvolume send\-receive,
|
If set, all transactions (snapshot create, subvolume send\-receive,
|
||||||
subvolume delete) as well as abort messages are logged to <file>, in a
|
subvolume delete) as well as abort messages are logged to <file>, in a
|
||||||
space-separated table format: "localtime type status duration
|
space-separated table format: "localtime type status target_url
|
||||||
target_url source_url parent_url message".
|
source_url parent_url message".
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fBtransaction_syslog\fR <facility>|no
|
\fBtransaction_syslog\fR <facility>|no
|
||||||
|
|
Loading…
Reference in New Issue