detail Files

Guy Fraser guy at incentre.net
Sat Mar 18 02:16:11 CET 2006


On Fri, 2006-17-03 at 16:15 -0500, Lisa Casey wrote:
> Hi,
> 
> I sent this email a couple of hours ago but it hasn't appeared on the list 
> yet so I'm resending it. If it comes through twice, accept my apologies.
> 
> 
> Currently my Freeradius server writes new accounting detail files each day.
> In radiusd.conf,   if I were to change
> 
> detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d
> 
> to
> 
> detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m
> 
> Would it then write one detail file for each month?
> 
Yes

Normally I don't like the per NAS/Client directories, but 
do like daily logs, so I use :

detailfile = ${radacctdir}/detail-%Y%m%d

I use a cron job to compress the daily logs, and archive 
them.

I only keep them in case of a legal dispute, all of my 
real accounting is done in SQL.




More information about the Freeradius-Users mailing list