/var/log/messages is scrambled!

Kevin Martin ktmdms at gmail.com
Tue Feb 25 19:50:33 UTC 2014


On 02/25/2014 01:44 PM, Neal Becker wrote:
> OK, I think there is no question that time did not go back in /var/log/messages.  
> Actually, the messages are scrambled.
> 
> First it is Jan 25.  Then it it Jan 8.  We go through normal looking periods of 
> Jan 9 and 10, and Jan 13 before we're back on Feb 25.  I don't think this can be 
> explained by the clock doing that - as the time spent on Jan 9, 10...13 are 
> quite long.  It couldn't have actually been preceeded and followed by Jan 25. 
> 
There was another thread today where somebody suggested/commented that /var/log/messages can't be trusted to be in line time-wise
and that, to get synced messages, you have to use journalctl.  My $.02, what a good idea it is to obfuscate the messages in such a
way that you can't just read them with cat/more/less and have to actually have a whole system built around the idea of messaging
(can you say sarcasm).  Anyway, take a look at journalctl to see if your system messages are really out of sync or not.

Kevin


More information about the test mailing list