Skip to content

Commit

Permalink
Remove old logger from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomseddon committed Jan 22, 2019
1 parent b1fdcc7 commit 5c800a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"net/url"
"strings"
"testing"

"github.com/op/go-logging"
)

/**
Expand All @@ -36,8 +34,7 @@ func (t *UserServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}

func init() {
// Remove for debugging
logging.SetLevel(logging.INFO, "traefik-forward-auth")
log = CreateLogger("panic", "")
}

func httpRequest(r *http.Request, c *http.Cookie) (*http.Response, string) {
Expand Down

0 comments on commit 5c800a0

Please sign in to comment.