You need to install rsyslog daemon on radius machine. Then in /etc/rsyslog.conf
# Save radius logs into file
local1.* /var/log/radius/radius.log
# All to syslog server
*.* @ip_address_of_your_syslog_server
It works fine form me
-----Original Message----- From: freeradius-users-bounces+puzzel1982=gmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+puzzel1982=gmail.com@lists.freeradius .org] On Behalf Of Marco Aresu Sent: Wednesday, July 30, 2014 3:43 PM To: FreeRadius users mailing list Subject: Freeradius Log with Rsyslog
Hi all,
i ve configured Freeradius on my server and i would like to forward authentication log to an external server. I saw in the forum that i have to change Logdir from file to syslog but where do i have to specify the destination server?
Thanks
Marco Aresu - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Yes in radiusd.conf find the line "syslog_facility = local1" -----Original Message----- From: freeradius-users-bounces+puzzel1982=gmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+puzzel1982=gmail.com@lists.freeradius.org] On Behalf Of Marco Aresu Sent: Thursday, July 31, 2014 10:32 AM To: FreeRadius users mailing list Subject: Re: Freeradius Log with Rsyslog Hi Puzzel, thanks for your reply, it seems to be ok. Just last question, where i will choose the log level to send in the syslog?Into Radiusd.conf file? Thanks Marco Marco Aresu On 30 July 2014 19:56, Puzzel <puzzel1982@gmail.com> wrote: - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html