bryancall commented on issue #12944: URL: https://github.com/apache/trafficserver/issues/12944#issuecomment-6067179138
More detail on the timestamp part, from current master: - `diags.log` and `traffic.out` take their stamp from `ctime_r`, cut down to `Oct 8 18:58:01.123`. There is no year and no time zone, and it is local time ([src/tsutil/DbgCtl.cc](https://github.com/apache/trafficserver/blob/7d3ec104ab/src/tsutil/DbgCtl.cc#L305-L316)). - `error.log` uses `%Y%m%d.%Hh%Mm%Ss` in local time, to the second ([src/proxy/logging/LogUtils.cc](https://github.com/apache/trafficserver/blob/7d3ec104ab/src/proxy/logging/LogUtils.cc#L77-L84)). Matching one host's error.log against its diags.log, or two hosts against each other, means parsing two formats and guessing the year and zone. For 11.0.0 I'd like one format in both: ISO 8601 in UTC with milliseconds, for example `2026-10-08T18:58:01.123Z`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
