Re: how to get data from syslog for a specific date range?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
> up.

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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux