Skip to content

Commit

Permalink
etcdmain: enable grpc tracing with --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Romano committed Feb 27, 2017
1 parent 01557eb commit 298d588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcdmain/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 298d588

Please sign in to comment.