diff --git a/cmd/localkube/cmd/start.go b/cmd/localkube/cmd/start.go index 0ed73a38a4b0b7681377f6197ef10af7a9a2e450..8f54cb05e90fc2328623fdfd6e34972b711f7522 100644 --- a/cmd/localkube/cmd/start.go +++ b/cmd/localkube/cmd/start.go @@ -21,6 +21,7 @@ import ( "os" "os/signal" + "github.com/coreos/pkg/capnslog" "k8s.io/kubernetes/pkg/capabilities" "k8s.io/kubernetes/pkg/kubelet/types" "k8s.io/minikube/pkg/localkube" @@ -37,6 +38,11 @@ func StartLocalkube() { os.Exit(0) } + // Get the etcd logger for the api repo + apiRepoLogger := capnslog.MustRepoLogger("github.com/coreos/etcd/etcdserver/api") + // Set the logging level to NOTICE as there is an INFO lvl log statement that runs every few seconds -> log spam + apiRepoLogger.SetRepoLogLevel(capnslog.NOTICE) + // TODO: Require root SetupServer(Server)