[SOLVED] FreeRADIUS Logs

Started by WaffleIron, December 30, 2023, 03:42:19 PM

Previous topic - Next topic
December 30, 2023, 03:42:19 PM Last Edit: December 30, 2023, 10:06:18 PM by WaffleIron
Hello,
Hoping someone can help.  I have FreeRADIUS running on my box and have run into an issue with the logging in the GUI.

In short, the GUI is no longer displaying updated log info. (see attached)

I have logging enabled for all authentications but when I go to the logging tab I don't see any recent authentications that were made.  Latest info was from yesterday (Dec 29) for a single client.

When I go into CLI and look at /var/logs/radius.log for that same client, I can see multiple authentications since yesterday.  It almost seems like the GUI is reading a different file for the log information and it's not getting updated.

The behavior started when I changed the setting "Log to file or syslog" to syslog for testing, and then changed it back to file.

I tried uninstalling/reinstalling the FreeRADIUS plugin, deleting the radius.log file to let it build a new one, and toggling logging settings on/off with service restarts in-between.  Nothing has worked.

Appreciate any help anyone can give.

Hi
It is possible that date sorting does not work as expected in this case, cause the log processing script first reads files in syslog format and finally (if any) files in the "legacy" format.
I think you can just "Clear log" and restart the radiusd

Thanks Fright, clearing the logs solved the problem.

Had nothing to do with sorting the date as I could see the entire log file but I completely missed the giant "clear log" button at the bottom of the screen (thus why I tried deleting the radius.log file via CLI  :) )