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.

Fred

> Date: Fri, 12 Mar 2010 14:04:03 +0100
> From: Alan DeKok <[email protected]>
> Subject: Re: radiusd log filename
> To: FreeRadius users mailing list
>       <[email protected]>
> Message-ID: <[email protected]>
> 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.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to