Idea #10473
Updated by Tom Clegg over 7 years ago
Switch request logging log format to JSON to allow easier parsing and post-processing.
This line in source:services/keepstore/logging_router.go#L75
<pre>
log.Printf("[%s] %s %s %d %.6fs %.6fs %.6fs %d %d \"%s\"", req.RemoteAddr, req.Method, req.URL.Path[1:], req.ContentLength, tTotal.Seconds(), tLatency.Seconds(), tResponse.Seconds(), resp.Status, resp.Length, statusText)
</pre>
...should log some JSON to a logger that doesn't use a prefix.
Add an RFC3339 timestamp, too.