internal: increase logging for no hostname found
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
bb4be944dc
commit
e5a393c534
|
@ -109,6 +109,7 @@ func (ps *ProxyServer) Handle(rw http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ps.log.WithField("headers", r.Header).Trace("tracing headers for no hostname match")
|
||||||
ps.log.WithField("host", host).Warning("no app for hostname")
|
ps.log.WithField("host", host).Warning("no app for hostname")
|
||||||
|
|
||||||
rw.Header().Set("Content-Type", "application/json")
|
rw.Header().Set("Content-Type", "application/json")
|
||||||
|
|
Reference in New Issue