From 9fd0ba1df60482c961a960eff72ccb98e3e84fcf Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 17 Sep 2018 15:44:37 -0700 Subject: [PATCH] add logger back --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index eef3f4e16..09f6d063e 100644 --- a/client/client.go +++ b/client/client.go @@ -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),