Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Aug 31 10:58:28 CEST 2012


On 31 Aug 2012, at 05:37, QASIM RAO <qasim2490 at hotmail.com> wrote:

> sir,
> actual problem is when i run with 'radiusd' log file save on location i defined in radiusd.conf 
> 
> prefix = /usr/local
> exec_prefix = ${prefix}
> sysconfdir = ${prefix}/etc
> localstatedir = ${prefix}/var
> sbindir = ${exec_prefix}/sbin
> logdir = ${localstatedir}/log/radius
> 
> 
> 
> but when i run radius with 'radiusd -X' i save on location defined in radiusd.dat
> 
> 
>       echo -n $"Starting $prog:"
>                 cd $binfolder
>                 daemon ./radiusd > /var/log/radius`date '+%Y%m%d'`.log &
>                 RETVAL=$?
>             sleep 2

*sigh*

Use -xx (instead of -X) and periodically move the log file the server generates to /var/log/radius`date '+%Y%m%d'`.log using a logrotated hook.

-Arran


More information about the Freeradius-Users mailing list