osmo-gsm-tester[master]: Add microsecond accuracy to log timestamps

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jul 3 10:37:46 UTC 2017


Patch Set 1: Code-Review+2

(1 comment)

https://gerrit.osmocom.org/#/c/3025/1/src/osmo_gsm_tester/log.py
File src/osmo_gsm_tester/log.py:

Line 85: DATEFMT = '%H:%M:%S.%f'
it's a pity that there is no format string for milliseconds: I'd prefer having less digits. That can be done with manual formatting like '%03f' % (now.microsecond/1000) ... which changes the DATEFMT semantics, not worth it. Ok then.


-- 
To view, visit https://gerrit.osmocom.org/3025
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I43bb5c6e9977189251802bc2b078c52eb046bab8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list