mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
cmd/pomerium: add host to main logging handler
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
b373634012
commit
78b98e2746
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ func newGlobalRouter(o *config.Options) *mux.Router {
|
||||||
Str("group", r.Header.Get(proxy.HeaderGroups)).
|
Str("group", r.Header.Get(proxy.HeaderGroups)).
|
||||||
Str("method", r.Method).
|
Str("method", r.Method).
|
||||||
Str("service", o.Services).
|
Str("service", o.Services).
|
||||||
Str("url", r.URL.String()).
|
Str("host", r.Host).
|
||||||
|
Str("path", r.URL.String()).
|
||||||
Msg("http-request")
|
Msg("http-request")
|
||||||
}))
|
}))
|
||||||
if len(o.Headers) != 0 {
|
if len(o.Headers) != 0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue