Skip to content

Commit 5c800a0

Browse files
committed
Remove old logger from tests
1 parent b1fdcc7 commit 5c800a0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

main_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
"net/url"
1111
"strings"
1212
"testing"
13-
14-
"github.com/op/go-logging"
1513
)
1614

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

3836
func init() {
39-
// Remove for debugging
40-
logging.SetLevel(logging.INFO, "traefik-forward-auth")
37+
log = CreateLogger("panic", "")
4138
}
4239

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

0 commit comments

Comments
 (0)