On Oct 25, 2018, at 1:43 AM, BASSAGET Cédric <cedric.bassaget.ml@gmail.com> wrote:
I've already done that, I did not see anything related to a logging problem. I think something is missing in my config, and radiusd −X does not show that !
If the linelog module doesn't appear in the debug output, then it means that you didn't: a) enable the module or b) configure the virtual server to use the module. ..
Listening on dhcp interface ens4 address 255.255.255.255 port 67 bound to server dhcp Ready to process requests
<sigh> Go read http://wiki.freeradius.org/radiusd-X In order for us to see what happens when the server PROCESSES A PACKET, we need to see the server PROCESSING A PACKET.
Yes, my specific question is : how do I get the sqlippool messages in freeradius logfile when a DHCP event occurs" ?
The documentation for the sqlippool module says where the messages go: They're in an attribute in the control list. The documentation for "unlang" tells you how to reference / access attributes. The documentation for the "linelog" module tells you how to create log messages from attribute references.
And additional question : is ther a way to log to a SQL table (event, date, mac, ip address, ...)
You can write custom SQL queries yourself to log to SQL. Alan DeKok.