diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/http/plugin.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go index 2e00a91a..f35c321b 100644 --- a/plugins/http/plugin.go +++ b/plugins/http/plugin.go @@ -120,7 +120,13 @@ func (s *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se func (s *Plugin) logCallback(event interface{}) { if ev, ok := event.(ResponseEvent); ok { - s.log.Debug("http handler response received", "elapsed", ev.Elapsed().String(), "remote address", ev.Request.RemoteAddr) + s.log.Debug("", + "remote", ev.Request.RemoteAddr, + "ts", ev.Elapsed().String(), + "resp.status", ev.Response.Status, + "method", ev.Request.Method, + "uri", ev.Request.URI, + ) } } |