Fwd: [opensuse] Format used for compressed logs by logrotate.
On Apr 16, 2013, at 8:52 , Per Jessen wrote:
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
What about xzgrep?
~> which xzgrep /usr/bin/xzgrep
Hum! That one is new to me. So now we have to use zgrep sometimes, other xzgrep... what a complication :-(
And zometimes even bzgrep.
zgrep should be able to read .bz2, and on 12.3, .xz as well. See BNC #799561. A. -- Ansgar Esztermann DV-Systemadministration Max-Planck-Institut für biophysikalische Chemie, Abteilung 105 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Esztermann, Ansgar wrote:
On Apr 16, 2013, at 8:52 , Per Jessen wrote:
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
What about xzgrep?
~> which xzgrep /usr/bin/xzgrep
Hum! That one is new to me. So now we have to use zgrep sometimes, other xzgrep... what a complication :-(
And zometimes even bzgrep.
zgrep should be able to read .bz2, and on 12.3, .xz as well. See BNC #799561.
You're right, I forgot that zgrep is a script. -- Per Jessen, Zürich (16.0°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Apr 16, 2013 at 08:07:15AM +0000, Ansgar Esztermann wrote:
On Apr 16, 2013, at 8:52 , Per Jessen wrote:
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
What about xzgrep?
~> which xzgrep /usr/bin/xzgrep
Hum! That one is new to me. So now we have to use zgrep sometimes, other xzgrep... what a complication :-(
And zometimes even bzgrep.
zgrep should be able to read .bz2, and on 12.3, .xz as well. See BNC #799561.
Neat. But shouldn't then the gzip package then require bzip2 and xz? Maybe a bit weaker Recommends to bzip2 and xz fits better in this case. Using recommends would still allow not to install bzip2 and xz. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (3)
-
Esztermann, Ansgar
-
Lars Müller
-
Per Jessen