refactor(all): adjust some logging

This commit is contained in:
Sean McArthur
2015-05-09 22:18:05 -07:00
parent 38f40c7f6a
commit a3637d5f73
4 changed files with 6 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ impl<C: NetworkConnector<Stream=S>, S: NetworkStream + Send> NetworkConnector fo
let mut should_remove = false;
let conn = match locked.conns.get_mut(&key) {
Some(ref mut vec) => {
trace!("Pool had connection, using");
should_remove = vec.len() == 1;
vec.pop().unwrap()
}