consul: fixing use of nil log output. Fixes #203
This commit is contained in:
parent
2c63d17e79
commit
06cd40d1e7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue