On Sun, 28 Oct 2001 [EMAIL PROTECTED] wrote: > lance <[EMAIL PROTECTED]> wrote: > > 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 :( > > so... why not edit radlog_dir to set it to syslog?
Because even though you may want to log through syslog, you may also need to maintain radutmp etc, and also having a command line option to radiusd that doesnt work seems daft. Also BTW the facility setting -g doesnt work either - even hard coding use_syslog in log.c , the messages go to syslog and go into /var/log/messages , ignoring the -g parameter :( > > It probably needs a separate global variable ... > > That's a better idea. I tried but couldnt get it to link :( In our particular application we use radius to log (via syslog) accounting start and stop information, which is then used to set up authentication for dynamic ip dialups on multiple boxes via remote syslog. I've written an rlm to do the logging - and was hoping to use radlog, but for now have hard coded the rlm to use syslog. Regards Lance - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
