Good information guys! I knew about less decompression and use that a
lot. I should have been clearer that the zcat usage was so I could grep
for something in a compressed (and normally large) syslog archive.
I like Rusty's explanation of logrotate because I have looked at it in the
past and cou
From: "Carruth, Rusty"
[snip logrotate info]
> On a slightly different topic, I have found that some versions of 'less'
> will automatically decompress compressed files to text. Or at least,
> one time I mistakenly said 'less /var/log/syslog*' when some of them
> were zipped, and LO! I didn't see
I didn't know it all, but I do know that /etc/logrotate.conf and
/etc/logrotate.d control, well, log rotation.
ISTR that "In the old days" syslogd would use 2 criteria to decide
whether to rotate the log - size of file and how long it had been since
last rotation.
I don't remember all the r