1
0
Fork 0

Revert "First stage of access logging middleware. Initially without any output appenders."

This reverts commit 73a1b172ed.
This commit is contained in:
Emile Vauge 2017-05-03 17:08:16 +02:00
parent a5384bae47
commit 82651985c4
No known key found for this signature in database
GPG key ID: D808B4C167352E59
9 changed files with 34 additions and 447 deletions

View file

@ -13,7 +13,6 @@ import (
"time"
"github.com/containous/traefik/log"
"github.com/containous/traefik/middlewares/accesslog"
"github.com/streamrail/concurrent-map"
)
@ -134,9 +133,8 @@ func (fblh frontendBackendLoggingHandler) ServeHTTP(rw http.ResponseWriter, req
referer := req.Referer()
agent := req.UserAgent()
logTable := accesslog.GetLogDataTable(req)
frontend := logTable.Core[accesslog.FrontendName]
backend := logTable.Core[accesslog.BackendURL]
frontend := strings.TrimPrefix(infoRw.GetFrontend(), "frontend-")
backend := infoRw.GetBackend()
status := infoRw.GetStatus()
size := infoRw.GetSize()