Discussion:
Debug log for just one user
Enrico Polesel
2018-10-17 11:57:21 UTC
Permalink
Hi,

I would like to have debug logs (like `freeradius -X`) only for one user
(that I may identify with the mac address), using a dedicated SSID with a
dedicated radius server is not an option since he has problems only with a
particular SSID.

I found in the wiki (https://wiki.freeradius.org/config/Logging) that I may
increase debug level with unlang using
update control {
Tmp-String-0 = "%{debug:1}"
}
I have two questions about that:
1. which levels are available? Which one is more verbose and which one is
less verbose?
2. which level is equivalent (or similar) to the output of `freeradius -X`?

I use freeradius 3.0.17 compiled from git.

Thank you for your time and your great job on freeradius.
Enrico Polesel
-
List info/subscribe/unsubscribe? See http://www.freeradius.o
Alan DeKok
2018-10-17 12:14:47 UTC
Permalink
Post by Enrico Polesel
I found in the wiki (https://wiki.freeradius.org/config/Logging) that I may
increase debug level with unlang using
update control {
Tmp-String-0 = "%{debug:1}"
}
1. which levels are available? Which one is more verbose and which one is
less verbose?
It's the same as '-x'. Count the 'x', and that's the debug level.
Post by Enrico Polesel
2. which level is equivalent (or similar) to the output of `freeradius -X`?
-X is "-sfxx", so 2.

Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.fr
Enrico Polesel
2018-10-17 14:02:32 UTC
Permalink
Thank you for your fast response.

Best regards,
Enrico Polesel
Post by Alan DeKok
Post by Enrico Polesel
I found in the wiki (https://wiki.freeradius.org/config/Logging) that I
may
Post by Enrico Polesel
increase debug level with unlang using
update control {
Tmp-String-0 = "%{debug:1}"
}
1. which levels are available? Which one is more verbose and which one is
less verbose?
It's the same as '-x'. Count the 'x', and that's the debug level.
Post by Enrico Polesel
2. which level is equivalent (or similar) to the output of `freeradius
-X`?
-X is "-sfxx", so 2.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list
Continue reading on narkive:
Loading...