From eb48eb63ef02b2bf6b940c49f5aceec007b231e2 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Wed, 12 Jul 2006 17:35:15 +0000 Subject: [PATCH] Better log message handling. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@421337 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/transport/tcp/TcpTransport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java index 8dafe45801..0bc019dc66 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java @@ -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); }