sqlippool log messages to stdout

Matteo Sgalaberni sgala at sgala.com
Mon Mar 14 15:23:52 UTC 2022


Hi, 

I'm struggling by configuring the accounting for logs of module sqlippool (messages exists/success/clear/failed/nopool) (freeradius 3.x). 
I would like to have these logs directed to my stdout as I'm using freeradius into a docker container and also the main logs of freeradius are directed to stdout. 

I found a way to log them via linelog but I need the logs to be directed to stdout. The module linelog does not support it ;( 

Is there a way to log the attribute %{control:Module-Success-Message} that contain these information to the standard radius log module? 

In that way I will find sqlippool logs "mixed" with the other freeradius logs (as was in the 2.x freeradius release). 

Probably the right way it's via the update/control directive but I didn't got lucky by reading the docs and experimenting... 

Can a freeradius expert point me to the right direction? 

Thanks! 

Matteo 



More information about the Freeradius-Users mailing list