radmin - problem with setting up username based filter as condition

Fekete Tamás fektom at gmail.com
Thu Jan 24 08:55:35 CET 2019


> Don't set the debug level in radmin. It changes the debug level
server-wide
> and doesn't do what you think it should (it's not documented well in the
> current man page). Just set the condition and the file and you'll be good
> to go.

Yes, I tried and my experience is that the output file is a bit shorter
with debug level 0:

[root at compiler radius]# ls -l bob*
-rw-r--r-- 1 root root 6488 Jan 24 08:38 bob_debug_level0.log
-rw-r--r-- 1 root root 9691 Jan 24 08:39 bob_debug_level4.log

However, with debug level 0 radius doesn't duplicate lines into radius.log
and the separate output file.
Moreover, the filtering condition works as expected in this way.

Thank you for the solution!

- Tamas Fekete


Michael G Hocke <mh103 at nyu.edu> ezt írta (időpont: 2019. jan. 23., Sze,
7:28):

> On Sun, Jan 20, 2019 at 11:24 PM Fekete Tamás <fektom at gmail.com> wrote:
>
>
> > I want to log debug information only about one user with using radmin,
> but
> > I experience two problems in the expected behaviour of this tool.
> > When I set up radmin with the following options:
> >
> > debug level 4
> > debug condition '(User-Name == "bob")'
> > debug file bob.log
> >
>
> Don't set the debug level in radmin. It changes the debug level server-wide
> and doesn't do what you think it should (it's not documented well in the
> current man page). Just set the condition and the file and you'll be good
> to go.
>
> - Michael
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list