Logrotate on RHEL 5

Hi All,

Can any one let me me know if i run /usr/sbin/logrotate /etc/logrotate.conf will it read the whole /var/log/messages or it just see the time stamp of message file & then rotate the logs.

Just wants to know is logrotation based on messages file contents or messages file time stamp.

Regards

Ankit

Modification timestamp of the file only, it doesn't care at all about the contents. And no, there's no way to change it as far as I know.