Printing currnt time with file

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Sep 3 12:32:37 CEST 2012


On 3 Sep 2012, at 07:31, Alan DeKok <aland at DEPLOYINGRADIUS.COM> wrote:

> QASIM RAO wrote:
>> hi,
>> i want to create log file for every hour i use radius. 
>> now it is
>> log_file = ${logdir}/radius.log
>> i want like this
>> log_file = ${logdir}/radius-%Y%m%d:%H.log
> 
>  That isn't supported.  You'll have to find another way of doing that.

This was mentioned on the list last week.

Use a cronjob to move the file periodically and hup the server with kill -HUP `cat /var/run/radiusd/radiusd.pid` or radmin -e 'HUP'. 

 -Arran


More information about the Freeradius-Users mailing list