add logger back

This commit is contained in:
Alex Dadgar
2018-09-17 15:44:37 -07:00
committed by Michael Schurter
parent a203689bbc
commit 9fd0ba1df6

View File

@@ -240,6 +240,7 @@ func NewClient(cfg *config.Config, consulCatalog consul.CatalogAPI, consulServic
connPool: pool.NewPool(logger, clientRPCCache, clientMaxStreams, tlsWrap),
tlsWrap: tlsWrap,
streamingRpcs: structs.NewStreamingRpcRegistry(),
logger: logger,
rpcLogger: logger.Named("rpc"),
allocs: make(map[string]AllocRunner),
allocUpdates: make(chan *structs.Allocation, 64),