]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Change logging level for thread reduction to highest verbosity only.
authorJia Tan <jiat0218@gmail.com>
Tue, 27 Feb 2024 15:42:41 +0000 (23:42 +0800)
committerJia Tan <jiat0218@gmail.com>
Wed, 28 Feb 2024 16:05:50 +0000 (00:05 +0800)
commitbbf112e32307a75a54a9e170bc392811443d5c87
tree592c84b877e0322af71bd4456acb1931e1c4e4ef
parent649f6447441510d593a88475ad6df4bcdf74ce48
xz: Change logging level for thread reduction to highest verbosity only.

Now that multi threaded encoding is the default, users do not need to
see a warning message everytime the number of threads is reduced. On
some machines, this could happen very often. It is not unreasonable for
users to need to set double verbose mode to see this kind of
information.

To see these warning messages -vv or --verbose --verbose must be passed
to set xz into the highest possible verbosity mode.

These warnings had caused automated testing frameworks to fail when they
expected no output to stderr.

Thanks to Sebastian Andrzej Siewior for reporting this and for the
initial version of the patch.
src/xz/coder.c