[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logrotate question/problem



I'm tryin to get logrotate to not rotate my radius logs until
they are about 10MB in size. in /etc/logrotate.conf i HAD
this:

/var/log/radacct/* {
        size=10000k
        create 0664 root adm
        rotate 10
        postrotate
                        /etc/init.d/radiusd restart
        endscript
}

i read in the logrotate manpage that this would work
 but clearly it was not. lograte still
rotates the logs at least once a day(the logs are about
50kb or so per day).

now i have

/var/log/radacct/systemname/detail {
        size=10000k
        create 0664 root adm
        rotate 10
        postrotate
                        /etc/init.d/radiusd restart
        endscript
}

for each of my currently monitored systems. i fear this
won't work either. maybe it will ? any insight?

running debian 2.2r3

thanks!

nate




Reply to: