On Wednesday 01 September 2004 08:27, Patrick Shanahan wrote: <SNIP>
from logrotate man page maxage count Remove rotated logs older than <count> days. The age is only checked if the log file is to be rotated. The files are mailed to the configured address if mail last and mail are configured.
If you want the files rotated daily, instead of using '--force', why don't you set the parameter to 'daily' in /etc/logrotate.d/syslog?
Above you have:
I'm just a little puzzled. The 'logrotate.conf' file has the following: # see "man logrotate" for details # rotate log files weekly weekly
# keep 4 weeks worth of backlogs rotate 4
rotate count Log files are rotated <count> times before being removed or mailed to the address specified in a mail directive. If count is 0, old versions are removed rather then rotated.
rotate is based on '# of times' and maxage on '# of days' -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos Thanks! I don't know how I missed the 'maxcount'... but I did. Now, it is making a little more sense. :-) -- ..."Yogi" CH Namasté Yoga Studio "If music be the food of love, why can't rabbits sing?"