-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2013-04-15 at 18:07 -0400, Anton Aylward wrote:
Carlos E. R. said the following on 04/15/2013 04:33 PM:
I suddenly noticed that in my 12.1 system, I can no longer use zgrep to search the rotated logs, which are compressed using xz.
cer@Telcontar:~> zgrep Telcontar /var/log/messages-20121206.xz cer@Telcontar:~>
It fails without giving an error (The string "Telcontar" is on every log line).
This is probably a bug that I could report in Bugzilla, but obviously it will be ignored at this time. Can somebody else check 12.3?
Now I have to reconvert all my logs to a format I can read, and change the logrotate config so that it uses some other format like bzip2
NOT!
If you look at /etc/logrotate.conf you will see the lines <quote> # comment these to switch compression to use gzip or another # compression scheme compresscmd /usr/bin/xz uncompresscmd /usr/bin/xzdec </quote>
If you don't like xz then do what it says and change.
I had changed it already before posting here, I'm aware of that configuration. That's not the issue I was reporting. And I have changed it back to xz after learning how to grep them. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFtedUACgkQtTMYHG2NR9UTeACgg9fwc3sMgt39csAXZtXZ1WKf 5WgAnAkeuh6MDQz66Vay6YImtkMtVu9M =dlFg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org