Little more trace! logging

This commit is contained in:
Michael Vines
2018-07-18 12:44:59 -07:00
parent 39df087902
commit 5deb34e5bd
3 changed files with 10 additions and 6 deletions

View File

@ -212,6 +212,7 @@ impl Packets {
Ok((nrecv, from)) => {
p.meta.size = nrecv;
p.meta.set_addr(&from);
trace!("got {} bytes from {}", nrecv, from);
if i == 0 {
socket.set_nonblocking(true)?;
}
@ -405,6 +406,7 @@ impl Blob {
Ok((nrecv, from)) => {
p.meta.size = nrecv;
p.meta.set_addr(&from);
trace!("got {} bytes from {}", nrecv, from);
if i == 0 {
socket.set_nonblocking(true)?;
}