We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdbabf0 commit 19fb30eCopy full SHA for 19fb30e
test/integration/framework.go
@@ -20,11 +20,13 @@ import (
20
"crypto/tls"
21
"fmt"
22
"io/ioutil"
23
+ "log"
24
"math/rand"
25
"net/http"
26
"testing"
27
"time"
28
29
+ restfullog "github.com/emicklei/go-restful/log"
30
"github.com/golang/glog"
31
32
"k8s.io/apimachinery/pkg/util/wait"
@@ -42,6 +44,8 @@ import (
42
44
43
45
func init() {
46
rand.Seed(time.Now().UnixNano())
47
+ // silence the go-restful webservices swagger logger
48
+ restfullog.SetLogger(log.New(ioutil.Discard, "[restful]", log.LstdFlags|log.Lshortfile))
49
}
50
51
type TestServerConfig struct {
0 commit comments