On Sat, 2001-09-15 at 15:12, nate wrote: > i sent this once, and didn't see a reply, i have some > followup info to the original message. > > I changed /etc/logrotate.conf : > /var/log/radacct/ras-ca/detail { > size=10000k > create 0664 root adm > rotate 10 > postrotate > /etc/init.d/radiusd restart > endscript > } > > which should limit rotations of that particular file > to when it gets to 10MB. i did this on Sept 12 as > noted by the date/time stamp on /etc/logrotate.conf > it did not have any effect: > backup-wa:/var/log/radacct/ras-ca# ls -l > total 12 > -rw-r----- 1 root adm 0 Sep 15 06:38 detail > -rw-r----- 1 root adm 3963 Sep 14 21:05 detail.0 > -rw-r----- 1 root adm 697 Sep 14 01:50 detail.1.gz > -rw-r----- 1 root adm 1356 Sep 12 20:45 detail.2.gz > > as you can see .......its been rotated at least 3 times > since i made the change. anyone have an idea on how to > get this working? or if all else fails how to get logrotate > to just ignore those logs totally and i can rotate them > manually? it really screws up my ability to generate stats > if the files are rotated so often!! argh.
Dumb question for you, but you have logrotate set to not run daily/weekly etc in the global part of the config file do you? That could be overriding the size limits you want it to follow. --mike