Remove the logrus logger wrapper

This commit is contained in:
Mark Sagi-Kazar
2019-02-22 21:31:46 +01:00
parent aec2edb441
commit 06521ffa49
14 changed files with 34 additions and 95 deletions

View File

@@ -7,7 +7,6 @@ import (
"github.com/sirupsen/logrus"
"github.com/dexidp/dex/pkg/log"
"github.com/dexidp/dex/storage"
"github.com/dexidp/dex/storage/conformance"
)
@@ -25,11 +24,11 @@ func loadClient(t *testing.T) *client {
if config.KubeConfigFile == "" {
t.Skipf("test environment variable %q not set, skipping", testKubeConfigEnv)
}
logger := log.NewLogrusLogger(&logrus.Logger{
logger := &logrus.Logger{
Out: os.Stderr,
Formatter: &logrus.TextFormatter{DisableColors: true},
Level: logrus.DebugLevel,
})
}
s, err := config.open(logger, true)
if err != nil {
t.Fatal(err)