[MDEV-25765] Mariabackup reduced verbosity option for log output. Created: 2021-05-24  Updated: 2023-10-19  Resolved: 2023-01-31

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Affects Version/s: 10.5.10, 10.7.3
Fix Version/s: 10.11.3, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4

Type: Bug Priority: Critical
Reporter: Juan Assignee: Alexander Barkov
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to MDEV-27919 mariabackup --log-copy-interval is me... Closed

 Description   

Customer requests an ability to diminish log output form default on MariaBackup, so a less-verbose option, to suppress 1/sec progress lines when applying log, for example. The main goal would be to keep the backup log more compact.



 Comments   
Comment by Sergei Golubchik [ 2022-04-23 ]

may be it'd be better to add a --silent or --quiet mode, and not change the default behavior

Comment by Ralf Gebhardt [ 2022-04-25 ]

serg, I thought so too. But according to vlad.lesin --log-copy-interval is writing a log entry for every check, which is by default once per second. From my point of view this should always have been only done with --verbose.

Comment by Sergei Golubchik [ 2022-04-25 ]

ralf.gebhardt@mariadb.com, I tend to agree with that.
There is a small concern about compatibility, but it's not strong enough to overweight the above.

Comment by Alexander Barkov [ 2022-11-14 ]

Hello serg,

Please review a patch:
https://github.com/MariaDB/server/commit/09f52cbc9702c7d9200e775787aa1215d22e72a6

Comment by Sergei Golubchik [ 2023-01-06 ]

ok to push

Generated at Thu Feb 08 09:40:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.