From 9a46a12fa5dcbcb289f2f8763314695e8033d256 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 9 Jun 2014 11:16:53 -0700 Subject: [PATCH] consul: fixing use of nil log output. Fixes #203 --- consul/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/pool.go b/consul/pool.go index 4e95d30145..91f53a6772 100644 --- a/consul/pool.go +++ b/consul/pool.go @@ -245,7 +245,7 @@ func (p *ConnPool) getNewConn(addr net.Addr, version int) (*Conn, error) { // Setup the logger conf := yamux.DefaultConfig() - conf.LogOutput = nil + conf.LogOutput = p.logOutput // Create a multiplexed session session, _ = yamux.Client(conn, conf)