I have tried with the following command
logrotate -d /etc/logrotate.conf
and i am getting the following message on the screen
rotating pattern: /var/log/messages /var/log/mgetty.log.ttyS1 weekly
(38 rotations)
olddir is /var/log/corview/, empty log files are rotated, old logs are
removed
considering log /var/log/messages
log does not need rotating
considering log /var/log/mgetty.log.ttyS1
log does not need rotating
not running shared postrotate script, since no logs were rotated
I am not sure what is the problem and can you explain me
Regards
-S.Balaji
Ralph Angenendt wrote:
Balaji wrote:
Dear All,
Currently i am using CentOS 4.4 Linux
Logrotate is not happen without -f option
I have executed the following logrotate /etc/logrotate.conf manually and
Logrotate command exit without any error messages
If i executed with -f option then Logrotate will happen
I am not sure why this is happening. Can some one throw light on this.
logrotate -d /etc/logrotate.conf might give you hints.
Ralph
------------------------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos