Remove old logger from tests
This commit is contained in:
parent
b1fdcc7f56
commit
5c800a0170
@ -10,8 +10,6 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/op/go-logging"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -36,8 +34,7 @@ func (t *UserServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// Remove for debugging
|
log = CreateLogger("panic", "")
|
||||||
logging.SetLevel(logging.INFO, "traefik-forward-auth")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func httpRequest(r *http.Request, c *http.Cookie) (*http.Response, string) {
|
func httpRequest(r *http.Request, c *http.Cookie) (*http.Response, string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user