868 reputation
1109
bio website
location
age
visits member for 5 years, 5 months
seen Sep 16 at 16:01

Jun
26
awarded  Yearling
Oct
15
awarded  Guru
Oct
11
awarded  Famous Question
Sep
21
awarded  Good Answer
Sep
21
awarded  Yearling
Jun
4
awarded  Notable Question
May
10
awarded  Yearling
Mar
2
awarded  Enlightened
Mar
2
awarded  Nice Answer
Sep
19
awarded  Popular Question
May
10
awarded  Yearling
Apr
25
answered How do you move your Git repository from one server to another?
Feb
26
accepted logrotate does not compress /var/log/messages
Feb
26
answered logrotate does not compress /var/log/messages
Feb
24
comment logrotate does not compress /var/log/messages
I don't think this is the root cause. The current date format, with a dash, works just fine for other log files. The difference between those log files and /var/log/messages is that the rotated /var/log/messages files are not compressed.
Feb
24
comment logrotate does not compress /var/log/messages
Done, details added to the question above. I'm curious whether there's some contention issue with the live /var/log/messages file and the delaycompress option will help.
Feb
24
revised logrotate does not compress /var/log/messages
Added information after manually appending .gz suffix to old rotated log files
Feb
24
comment logrotate does not compress /var/log/messages
I tried running logrotate manually like you suggested, and it tells me it's compressing the logs, but I don't find any compressed logs anywhere. See my question above for details.
Feb
24
comment logrotate does not compress /var/log/messages
Thanks for the reply. I'm running Gentoo Linux. My crontabs are not doing any management of /var/log/messages. Please see the new info in my question for details.
Feb
24
revised logrotate does not compress /var/log/messages
Added more information requested in first couple answers