radiusd log filename

Fred MAISON fred.maison at gmail.com
Fri Mar 12 15:12:20 CET 2010

OK, Alan, It's clear.
Unfortunately, logrotate version on last RedHat/CentOS does not support
YYYYMMDD dateext function I can find on Debian ...

I will have to write a postrotate script to do it.

Thanks a lot.


> Date: Fri, 12 Mar 2010 14:04:03 +0100
> From: Alan DeKok <aland at deployingradius.com>
> Subject: Re: radiusd log filename
> To: FreeRadius users mailing list
> 	<freeradius-users at lists.freeradius.org>
> Message-ID: <4B9A3BC3.7020109 at deployingradius.com>
> Content-Type: text/plain; charset=ISO-8859-1
> Fred MAISON wrote:
> > I would like to change daemon log filename to have a YYYYMMDD suffix, in
> > order to have an automatic daily log rotation, but this does not seems
> > to be supported, as log_file does not seems to expand variables as this
> > can be done for request logs or acct detail.
>   It doesn't support log file rotation like that.
>   I suggest using "logrotate".
>   Alan DeKok.

More information about the Freeradius-Users mailing list