You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would suggest that alongside microsecond or second resolution Go log library would also have millisecond timestamp resolution.
Existing implementation has only microsecond or second resolution, but microsecond resolution could be seen as too precise (access to logs could be used for help with side channel attacks) while second resolution is not precise enough, at least for me, to grasp the evolution of events when many happen at the same time.
Existing implementation had only microsecond or second resolution,
but microsecond resolution could be seen as too precise (access to
logs could be used for side channel attacks) while second resolution
is not precise enough.
This adds Lmilliseconds flag.
Fixesgolang#60249
I would suggest that alongside microsecond or second resolution Go log library would also have millisecond timestamp resolution.
Existing implementation has only microsecond or second resolution, but microsecond resolution could be seen as too precise (access to logs could be used for help with side channel attacks) while second resolution is not precise enough, at least for me, to grasp the evolution of events when many happen at the same time.
This would add the
Lmilliseconds
flag.I have made draft of the implementation here https://go-review.googlesource.com/c/go/+/495298 and it seems pretty minimal (#60246).
The text was updated successfully, but these errors were encountered: