On Sun, 28 Oct 2001, lance wrote:

> I'm testing freeradius 0.3 and even though I try to use syslog, by setting
> -l syslog and facility -g local4 , and have the facility set up in
> syslog.conf , freeradius is still logging to /var/log/radius/radius.log
> rather than the file specified in syslog.conf ??
>
> os is Redhat 7.2
>
> Do I need to do anything else to log via syslog ??

I worked it out for myself - syslog doesnt work :(

If you set -l syslog, it gets stored in radlog_dir , and works for the
startup log, but then gets clobbered by the configuration file stuff
setting radlog_dir to /var/log/radius (for radwtmp etc) and losing the
fact that you want to use syslog :(

It probably needs a separate global variable ...

I've fixed it for myself temporarily by hard coding it into log.c .....

Lance


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to