Disabling log entries for rejected users

Alan DeKok aland at deployingradius.com
Thu Jan 14 15:44:33 CET 2016

On Jan 14, 2016, at 2:59 AM, MichaƂ B <bialyy at o2.pl> wrote:
> Ok, let me explain some more details about my situation. Maybe you will be able to help me, give some good idea.
> Yes, I have settings "auth = yes" and "auth_badpass = yes", because I need them.


> Imagine two different situations about denied clients:
> 1. Technician has set wrong login or password on authenticated device. I need messages in log, for debugging reason.
> 2. The user device has been blocked by administrator (no payment, or something like that). The device is trying to authenticate every second, filling radius logs with tons of unnecessary messages.
> I want to get rid of messages coming from situations like 2, but still have messages from situations like 1.

  You told it to log rejected authentications, and it's doing that.

  If you want to have finer control over the logs, use the "linelog" module.  Configure the linelog module to run only when you want rejects to be logged.

  Alan DeKok.

More information about the Freeradius-Users mailing list