mirror of https://github.com/status-im/consul.git
consul: fixing use of nil log output. Fixes #203
This commit is contained in:
parent
93fb12ecdf
commit
9a46a12fa5
|
@ -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