No way to pass time formatting for json log format, time.RFC3339 has low precision #2827
Closed
6 tasks done
Labels
bug
Something is not working.
Preflight checklist
Describe the bug
We're trying to bump the log precision on our Kratos instances for the json format. The default formatting is set to time.RFC3339 and we would like to set it to time.RFC3339Nano (without it it's really hard to debug, since the log order sometimes becomes corrupted). There is no way to do so at the moment. I think this should be hardcoded to time.RFC3339Nano or at least there should be an option to change it somehow via the config
Reproducing the bug
Relevant log output
No response
Relevant configuration
Version
0.10 + with own patches
On which operating system are you observing this issue?
No response
In which environment are you deploying?
Kubernetes
Additional Context
No response
The text was updated successfully, but these errors were encountered: