Skip to content

[Debug] fix nanos in log timestamp

Maxim Onciul requested to merge fix-log-timestamp into master

The timestamp consists of . but the calculation of the nanos in the current minute was broken. A minute are 60 * 10^9 nanoseconds and not 10^9.

This allows a log to be sorted using sed 's/\./ /' <log-file> | sort --key=2 --key=3 -n -o <sorted-log-file>

Merge request reports

Loading