spicedb
spicedb copied to clipboard
`time` field in pgx logs is repeated
Right now, the time field in the pgx logs as output is repeated:
{"level":"info","module":"pgx","args":[],"commandTag":"...","sql":"begin read only","time":2.258174,"time":"2021-09-02T16:31:54Z","message":"Exec"}
Note that the produced JSON, when piped through tooling, loses one of the values
in case it wasn't obvious: one is the number of milliseconds and one is the wall clock time
@jakedt Yep, and I suspect one is being injected by the zerolog driver and one by pgx