You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2020/03/11 21:15:46 UTC

[qpid-jms] branch master updated: NO-JIRA avoid auto-box of readable bytes value in trace log

This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/master by this push:
     new 59960ba  NO-JIRA avoid auto-box of readable bytes value in trace log
59960ba is described below

commit 59960ba807ffaeb0c25941eea092f2db4992d525
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Wed Mar 11 17:15:20 2020 -0400

    NO-JIRA avoid auto-box of readable bytes value in trace log
---
 .../java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java
index 10b5a39..a329482 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/NettyTcpTransport.java
@@ -557,7 +557,7 @@ public class NettyTcpTransport implements Transport {
 
         @Override
         protected void channelRead0(ChannelHandlerContext ctx, ByteBuf buffer) throws Exception {
-            LOG.trace("New data read: {} bytes incomsing: {}", buffer.readableBytes(), buffer);
+            LOG.trace("New incoming data read: {}", buffer);
             // Avoid all doubts to the contrary
             if (channel.eventLoop().inEventLoop()) {
                 listener.onData(buffer);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org