From 298d58841ebe6eeb374734d2e1e9e0926e8612e8 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Mon, 27 Feb 2017 09:28:53 -0800 Subject: [PATCH] etcdmain: enable grpc tracing with --debug --- etcdmain/etcd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go index a38bb0be60a..321e1ce4703 100644 --- a/etcdmain/etcd.go +++ b/etcdmain/etcd.go @@ -382,6 +382,7 @@ func setupLogging(cfg *config) { capnslog.SetGlobalLogLevel(capnslog.INFO) if cfg.Debug { capnslog.SetGlobalLogLevel(capnslog.DEBUG) + grpc.EnableTracing = true } if cfg.LogPkgLevels != "" { repoLog := capnslog.MustRepoLogger("github.com/coreos/etcd")