Commit bf8715b7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/rpc: more logs

parent 1dd5a131
......@@ -447,6 +447,7 @@ func (m *MuxConn) write(from muxPacketFrom, id uint32, dataType muxPacketType, p
var n2 int
n2, err = m.rwc.Write(p)
n += n2
log.Printf("[TRACE] %p: Stream %d (%s) write %d/%d bytes", m, id, from, n, len(p))
if err != nil {
log.Printf("[ERR] %p: Stream %d (%s) write error: %s", m, id, from, err)
break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment