[CentOS] how to get data from syslog for a specific date range?
markus.falb at fasel.at
Wed Jul 13 15:24:38 UTC 2011
On 7.7.2011 15:45, Rudi Ahlers wrote:
> something wrong with the logs on this server since it only has this
> month's data in /var/log/messages and /var/log/message.1 - 4 doesn't
> have much either. I'll have to investigate this first to see what's
Nothings wrong, plain syslog dont log year. For this you have to use
alternative syslog daemons like syslog-ng or rsyslog (not sure about the
latter one). But you can always rotate with a filename scheme that has
the year in it.
-- Kind Regards, Markus Falb
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 307 bytes
Desc: OpenPGP digital signature
More information about the CentOS