frontend: remove sessionid from log

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-02 10:00:10 -07:00
parent b7404e3500
commit 2dcd7b6221

View file

@ -45,9 +45,6 @@ func (lh *logHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
"http.req.path": r.URL.Path,
"http.req.method": r.Method,
})
if v, ok := r.Context().Value(ctxKeySessionID{}).(string); ok {
log = log.WithField("session_id", v)
}
log.Debug("request started")
defer func() {
log.WithFields(logrus.Fields{