SV: Removing log entries

René Olskjær Nielsen ron at adm.ku.dk
Thu Jan 23 13:30:49 CET 2014


FYI
After struggeling with linelog, without been able to get something usefull logged, I ended up sending the logs to syslog, and reconfigured rsyslog.conf to filter out the requests. Sometimes the most obvious solution is the last you think of:

This line in /etc/ryslog.conf did the trick:

if $programname == 'radiusd' and not ($msg contains 'the userid used by the HLB  probe') then /var/log/radius/radius.log

René


-----Oprindelig meddelelse-----
Fra: freeradius-users-bounces+ron=adm.ku.dk at lists.freeradius.org [mailto:freeradius-users-bounces+ron=adm.ku.dk at lists.freeradius.org] På vegne af Alan DeKok
Sendt: 22. januar 2014 01:01
Til: FreeRadius users mailing list
Emne: Re: Removing log entries

Alan Buxey wrote:
> Don't use the basic log. Use 'linelog' module and wrap it with some 
> unlang to make sure your HLB test/probe account doesn't get logged

  This kind of answer makes me think we should move the authlog functionality from the server core into the linelog module.

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




More information about the Freeradius-Users mailing list