Red Hat Bugzilla – Bug 43118
Can't read /var/log/messages.01.gz because it is compressed
Last modified: 2014-03-16 22:20:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20010131
Description of problem:
Cannot read the /var/log/messages.01.gz files because they are gz compressed.
Steps to Reproduce:
1. let /var/log/messages file grow
2. at some point the file will rewrite and save the old data in
/var/log/messages.01.gz or larger number
3. Cannot "edit" the message.XX.gz file without uncompressing
Expected Results: "Messages" files should be readable or I should be able
to "control" whether compression is enabled.
It's the normal behavior of logrotate. You can change this by editing
/etc/logrotate.d/syslog and removing the 'compress' option.