Open abstractj opened 4 years ago
I prefer to change the format to ISO8601
by default (because it is a built-in option of the logging package we are using), and later move forward with configurable timestamps by completing the work started in #493
What:
Hi The logging component is very fast and configured with production standards but it would be much easier to read if we could give configuration settings to set timestamp format. The logs are in an unreadable format currently which makes it hard to debug and monitor. This would make it more friendly for security audit. {code} 1.5693453866938124e+09 info client request {"latency": 0.000565047, "status": 403, "bytes": 1071, "client_ip": "-- hidden --", "method": "GET", "path": "/path", "src": "gatekeeper"} {code}
Reference: