Skip to content

[Debug] fix nanos in log timestamp

Florian Fischer requested to merge aj46ezos/emper: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