{"time":"2020-10-02T16:16:37.427169+02:00","id":"","remote_ip":"127.0.0.1","host":"localhost:6601","method":"GET","uri":"/healthcheck","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":6002259,"latency_human":"6.002259ms","bytes_in":0,"bytes_out":3}
{"time":"2020-10-02T16:16:37.427275+02:00","level":"INFO","prefix":"-","file":"app.go","line":"40","message":"shutdown"}
Issue Description
I'm using
middleware.Logger()and sometimes in the applog.Error()orlog.Info(). Themiddleware.Logger()however never prints a log level for requests. Shouldn't this be like always "INFO"? This is annoying as it's harder to parse all logs in splunk. Is there any easy workaround?