packer/rpc: more logs

This commit is contained in:
Mitchell Hashimoto 2014-01-01 22:03:12 -08:00
parent 1dd5a13139
commit bf8715b704
1 changed files with 1 additions and 0 deletions

View File

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