DateTime format in Log Files - configurable to ISO 8601 standard?
-
Is is possible to configure the format of the date-time stamps which get written to logfiles?
Logfiles in pfSense by default have date-time stamps which look like this
Dec 20 22:13:18These are not optimal - they don't sort properly.
For instance January dates have order 1, 13 then 9.ISO 8601 defines a better behaved time stamp, like
2019-12-20T22:13:18Z for a date-time for UTCAt the very least it would help to force the date values to be always two digits, that would be a bit better.
-
https://redmine.pfsense.org/issues/9808
-
@jimp
Thanks. The good work on the date formats in the logfile is now live and in production on v2.5.
Much appreciated.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.