Syslog?

Phillip Heller pheller at me.com
Wed Oct 15 17:07:34 CEST 2008


Hello,

   Running FreeRadius 2.0.5, with the following log related config:

logdir = syslog
log {
         log_destination = syslog
         syslog_facility = local7
         stripped_names = no
         auth = yes
         auth_badpass = no
         auth_goodpass = no
}

I've found lots of conflicting info among the wiki, documentation, and  
list suggesting different statements (log_destination=, destination=),  
and perhaps outside of log{}.

I did look at the code, and it looks to me as if log_destination is  
the proper statement.

Regardless of what I try (and I have tried both destination= and  
log_destination=, both inside and outside of log{}), the server does  
not show it as a parsed command when I fire up attached with debugging:

[root at h36laa001:/etc/raddb]% radiusd -X -f
FreeRADIUS Version 2.0.5, for host x86_64-redhat-linux-gnu, built on  
Aug 14 2008 at 23:20:24
Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/clients.conf
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
	prefix = "/usr"
	localstatedir = "/var"
	logdir = "syslog"
	libdir = "/usr/lib64"
	radacctdir = "syslog/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 1024
	allow_core_dumps = no
	pidfile = "/var/run/radiusd/radiusd.pid"
	checkrad = "/usr/sbin/checkrad"
	debug_level = 0
	proxy_requests = yes
  log {
	stripped_names = no
	auth = yes
	auth_badpass = no
	auth_goodpass = no
  }
}

I'm sure I'm just missing something simple.

Any ideas?

--phil



More information about the Freeradius-Users mailing list