logmerger icon indicating copy to clipboard operation
logmerger copied to clipboard

TODO: how to handle UTC timestamps, and UTC display?

Open ptmcg opened this issue 2 years ago • 4 comments

Detect timestamps with trailing 'Z' Add -utc command line option to work in UTC, otherwise, assume naive times are all local time, and convert UTC times to local time.

ptmcg avatar Sep 22 '23 20:09 ptmcg

Right now, timezoned timestamps in log files get converted to local time before merging.

ptmcg avatar Sep 27 '23 16:09 ptmcg

Need to add --utc command line option, to have all timestamp handlers emit UTC timestamps (do before Nov 5, end of DST).

ptmcg avatar Oct 08 '23 19:10 ptmcg

If naive timestamps found, determine dst status from start to end to emit warning if cross DST boundary.

ptmcg avatar Oct 08 '23 19:10 ptmcg

Also, to resolve timestamps across a DST boundary, will need to disable the windowed sort, or sort by UTC formatted time, so that "fall behind" DST transitions (which could resolve to local times going into the past) did not apply an improper sort on the timestamps.

ptmcg avatar Oct 13 '23 02:10 ptmcg