Feature request: Add logging for http request headers
Opened this issue · 0 comments
dc-95 commented
Hi there, i was wondering if its possible to include headers in the logger details that yopass server is currently outputting.
Currently looks like this: {"level":"info","ts":1700707372.440065,"caller":"server/logging.go:42","msg":"Request handled","host":"xx.xxxxx.xxx","timestamp":1700707372.4399774,"method":"GET","uri":"/","protocol":"HTTP/1.1 │ │ ","responseStatus":200,"responseSize":1057}
Maybe a new key with header details make sense. wdyt?