[MDEV-18212] MariaBackup: Make output format uniform whenever possible Created: 2019-01-11  Updated: 2019-02-20  Resolved: 2019-01-15

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Fix Version/s: 10.4.2, 10.2.22, 10.3.13

Type: Task Priority: Minor
Reporter: Elena Stepanova Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-18669 mariabackup writes timestamp in versi... Closed

 Description   

Currently MariaBackup's stderr contains records in different formats, in addition to server-style messages.

Some lines come with a timestamp and apparently a thread ID or something, some with a timestamp without a thread ID, some with thread ID without a timestamp, and some without any of those:

[01] mariabackup: Warning: We assume the table was dropped during xtrabackup execution and ignore the file.
[01] mariabackup: Warning: skipping tablespace test/seq5.
190110 22:12:01 [01] Copying ./test/t6.ibd to /home/travis/logs/vardir/backup_0/test/t6.ibd
...
DDL tracking :  create 253 "./test/#sql-6054_10.ibd": 1a10018
190110 22:12:01 Acquiring BACKUP LOCKS...

It would be good (and more informative) if all records contained a timestamp at least. mariabackup prefix might also be good, to distinguish the records from server-side ones when they are intermixed.

Server-side ones also vary, but that's out of the scope of this task. Here is a decent one, for example:

2019-01-10 22:12:00 0 [Note] InnoDB: Number of pools: 1


Generated at Thu Feb 08 08:42:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.