"freeradlist@GoldenIT" <[EMAIL PROTECTED]> wrote:
> I am new to free radius. It is working fine for me. I
> was just wondering how does "detail file
> (/usr/local/var/log/radius/radaact/ip/detail)" works in free radius. I mean
> does it gives us stats on daily basis or weekly basis, is it written over
> daily or weekly or does it keeps the record since the radius is installed?
It's never over-written. It's an append-only log.
If you want daily/weekly versions, see 'doc/variables.txt'. In
'radiusd.conf', you can use:
detailfile = ${radacctdir}/%{Client-IP-Address}/%Y-%m/%d.detail
To get a monthly directory, with different detail files for each
day. Then you don't have to do any rotation of the files.
> I have software that imports detail file once a month and make
> stats out of it. I was wondering if detail file is getting written
> over every day if yes then how will we make monthly stats.
Read 'doc/variables.txt', and edit 'detailfile' in 'radiusd.conf'
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html