sir,actual problem is when i run with 'radiusd' log file save on location i defined in radiusd.conf prefix = /usr/localexec_prefix = ${prefix}sysconfdir = ${prefix}/etclocalstatedir = ${prefix}/varsbindir = ${exec_prefix}/sbinlogdir = ${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 i want to save log file on same location in both cases... please help me in this Thanx..
On 31 Aug 2012, at 05:37, QASIM RAO <qasim2490@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
participants (2)
-
Arran Cudbard-Bell -
QASIM RAO