On 31 Aug 2012, at 05:37, QASIM RAO <[email protected]> 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to