Better debug logging of stack traces

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@421356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-07-12 18:08:27 +00:00
parent 5f7c6b73ba
commit f2f428101b
1 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,8 @@ public class TcpTransport extends TransportThreadSupport implements Transport, S
sock.setSendBufferSize(socketBufferSize);
}
catch (SocketException se) {
log.warn("Cannot set socket buffer size = " + socketBufferSize, se);
log.warn("Cannot set socket buffer size = " + socketBufferSize);
log.debug("Cannot set socket buffer size. Reason: " + se, se);
}
sock.setSoTimeout(soTimeout);
}