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 <aland@deployingradius.com> Subject: Re: radiusd log filename To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <4B9A3BC3.7020109@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.