consul: fixing use of nil log output. Fixes #203

This commit is contained in:
Armon Dadgar 2014-06-09 11:16:53 -07:00
parent 2c63d17e79
commit 06cd40d1e7
1 changed files with 1 additions and 1 deletions

View File

@ -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)