cmd/pomerium: add host to main logging handler

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2019-09-16 20:22:59 -07:00
parent b373634012
commit 78b98e2746
No known key found for this signature in database
GPG key ID: AEE4CF12FE86D07E

View file

@ -129,7 +129,8 @@ func newGlobalRouter(o *config.Options) *mux.Router {
Str("group", r.Header.Get(proxy.HeaderGroups)).
Str("method", r.Method).
Str("service", o.Services).
Str("url", r.URL.String()).
Str("host", r.Host).
Str("path", r.URL.String()).
Msg("http-request")
}))
if len(o.Headers) != 0 {