To do something similar, I changed my detailfile line in radiusd.conf to
something like:
detailfile = ${radacctdir}/%{Client-IP-Address}/detail.%Y.%m.%d
Now, I don't get a "detail" file anymore, but all the files are nice and
neat, organized by day, no weird rollover times.
Chris Kalin
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 09:11 AM
Subject: Re: Logfile rotation option ?
> [EMAIL PROTECTED] wrote:
> > I didn=B4t find a logfile rotation option in freeradius for the detail =
> > file
> > nor radiusd.log.
> > Is freeradius able to do this ? Or do I write my own shell script ?
>
> Use existing log rotation tools. Look on the net for 'logrotate'
>
> > AAA had the option of making daily / monthly detail files and have them
> > compressed automatically.
>
> Log file handling is part of the "log file handling" operations on a
> computer. The alternative is to have every single program include
> it's own log file rotation scripts.
>
> That's annoying, and unecessary.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html