|
logrotate doesn't do daily rotation....help required
Hi,
I am using logrotate 3.7.4-13
-When i specify both "size" and "daily/weekly/monthly" , the logs are being rotated only based on size and the period is not being considered.
-When i just specify "daily/weekly/monthly" (with no size parameter), the logs are being rotated accordingly.
Would like to know what the problem is. If its a bug,Was it fixed in the latest rpms?
One more question - How does "daily rotation" work? Is the file rotated after 24hrs from its time of creation? or at 00:01 everyday??
Btw, I have a cronjob that runs every minute. My requirement is that, log files are to be rotated based on both size and period which ever comes first.
Last edited by dvrmc; 01-31-2008 at 04:23 AM.
Reason: incomplete description for someone to suggest a solution
|