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 93fb12ecdf
commit 9a46a12fa5
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 // Setup the logger
conf := yamux.DefaultConfig() conf := yamux.DefaultConfig()
conf.LogOutput = nil conf.LogOutput = p.logOutput
// Create a multiplexed session // Create a multiplexed session
session, _ = yamux.Client(conn, conf) session, _ = yamux.Client(conn, conf)