How to modify the log file format thats missing the number in brackets at the front
Alan DeKok
aland at deployingradius.com
Tue Dec 3 15:08:44 UTC 2024
On Dec 3, 2024, at 9:47 AM, Geoffrey Francis via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> In my version2 freeradius server I had radius.log output of the format
>
> (192239) Sun Mar 26 00:01:58 2023 : Auth: Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject):
>
> With my version 3 server I have the following format
>
> Sun Mar 26 00:01:58 2023 : Auth: Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject):
>
> Its the same but the number in brackets has been removed
Sort of. What I see is:
Tue Dec 3 10:07:35 2024 : Auth: (0) Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject): [bob] (from client localhost port 0)
The number (0) here is the request number.
> Is there a way of reintroducing the number in brackets into my version 3 radius.log file?
I see it printed out as above.
Which version are you running? Please use the most recent one available. There isn't much point in upgrading from v2 to a 5 year-old version of v3.
> What does this number mean?
It's a number which is unique to each request. It doesn't mean anything, but it's just a way to track that all of the log messages for one request.
> We have some legacy software that uses the number you see
Upgrading from one major version to another results in some behavior changes. :(
Alan DeKok.
More information about the Freeradius-Users
mailing list