hi,i want to create log file for every hour i use radius. now it islog_file = ${logdir}/radius.logi want like thislog_file = ${logdir}/radius-%Y%m%d:%H.log if i change file name like above one radius create file ' radius-%Y%m%d:%H.log ' i want to create it like 'radius-20120903:08.log' pleae help me in this Regards Qasim
On 3 Sep 2012, at 07:31, Alan DeKok <aland@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
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
QASIM RAO