Matthias Nagel matthias.h.nagel at gmail.com
Thu Aug 30 15:35:13 CEST 2012


Hello,
 
> >  Hi,  i new bie in Freeradius i am facing problem that when i run radiusd with 'radiusd -X' command it it is genrating log of it in log file but when i run radiusd with 'radiusd' command it is not genrating it log in log file.. anyone please help me in this :(
> 
> Um when you run radiusd -X it prints everything to stdout...
> 
> you can use -x[xx] to add additional debugging in daemon mode...
> 
> -Arran

I believe the question was how to get a log file in non-debug mode. Have a look at the main configuration file. It depends on your distro where it is installed. (For example in Debian it is /etc/freeradius/radiusd.conf).

In that file you find a variable "logdir" at global scope and normally you find a section

log {
}

where all the logging related parameters are defined. But normally the ditro has sane defaults there. Perhaps your are looking for the log file in the wrong place? Or freeradiusn logs to the syslog deamon? The you have to find out, what the syslog daemon does with the logging messages.

Matthias



----------------------------------------------------------------------
Matthias Nagel
Willy-Andreas-Allee 1, Zimmer 506
76131 Karlsruhe

Telefon: +49-721-8695-1506
Mobil: +49-151-15998774
e-Mail: matthias.h.nagel at gmail.com
ICQ: 499797758
Skype: nagmat84



More information about the Freeradius-Users mailing list