Quick question about FreeRADIUS and timezones

Alan DeKok aland at deployingradius.com
Fri Sep 29 14:04:51 UTC 2023


On Sep 29, 2023, at 9:58 AM, Stefan Paetow via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> I know this is probably something really obvious but… Does FreeRADIUS log in UTC or the local timezone? Is there anything specific in terms of settings (in radiusd.conf) to make FreeRADIUS log in UTC by default if it does not?

  It logs in the local time zone.  This can't be changed.

> I’ve looked at the date {} module and I note that both the ‘date’ and the ‘wispr2date’ xlats have the option to output things in UTC… would that be the only thing where this can be tweaked?

  Yes.

  We're looking at fixing this in v4.  RFC3339 defines a better format for dates which is much more correct, and avoids all localization issues.  It may also be useful to log times as numbers, which avoids a lot of issues too.

  Alan DeKk.



More information about the Freeradius-Users mailing list