Hi
I am having some trouble understanding why logrotate does not rotate my
files.
I have the following customization for httpd
/var/log/httpd/*log /var/log/httpd/*/*log
/opt/WebSphere/DeploymentManager/logs/http_plugin.log {
daily
rotate 5
missingok
notifempty
size=1024M
sharedscripts
copytruncate
}
and the following in the main conf file for
weekly
rotate 4
create
compress
I understand that the custom configs will override any default settings
in the main config.
Logrotate does not rotate my lofiles on a daily basis, it does work on
size though.
I have run logrotate -d <conf file> which confirms that it does not
think a file needs rotating... I am not sure I understand the exact
sematics of how daily works and how it determines it is the next day...
The logrotate status file has some very old entries in though again I am
not sure what these entries tell or not tell me.
eg
"error_log" 2008-7-27
Any ideas would be appreciated.
Best Regards
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list