Re: radiusd log filename

2010-03-12 Thread Fred MAISON
Le vendredi 12 mars 2010 à 10:30 -0500, John Dennis a écrit : > On 03/12/2010 09:12 AM, Fred MAISON wrote: > > OK, Alan, It's clear. > > Unfortunately, logrotate version on last RedHat/CentOS does not support > > MMDD dateext function I can find on Debian ... > > > > I will have to write a post

Re: radiusd log filename

2010-03-12 Thread John Dennis
On 03/12/2010 09:12 AM, Fred MAISON wrote: OK, Alan, It's clear. Unfortunately, logrotate version on last RedHat/CentOS does not support MMDD dateext function I can find on Debian ... I will have to write a postrotate script to do it. dateext is supported on RHEL5 (at least in the 5.4 I ju

Re: radiusd log filename

2010-03-12 Thread Fred MAISON
t; Subject: Re: radiusd log filename > To: FreeRadius users mailing list > > Message-ID: <4b9a3bc3.7020...@deployingradius.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Fred MAISON wrote: > > I would like to change daemon log filename to have a MMDD suf

Re: radiusd log filename

2010-03-12 Thread Alan DeKok
Fred MAISON wrote: > I would like to change daemon log filename to have a MMDD 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

radiusd log filename

2010-03-12 Thread Fred MAISON
Hello freeradius-users, I have some radius instances started by name (radiusd -n xyz -d /opt/freeradius/xyz/etc/raddb), which by default generate log files as /var/log/radius/xyz.log. I would like to change daemon log filename to have a MMDD suffix, in order to have an automatic daily log rotat