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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1ad760f  PROTON-2380 Fix formatting issue in log of Transfer with its 
payload
1ad760f is described below

commit 1ad760faed44f261fd59e3714eebb498a55c77c7
Author: Timothy Bish <[email protected]>
AuthorDate: Fri May 7 15:25:10 2021 -0400

    PROTON-2380 Fix formatting issue in log of Transfer with its payload
---
 .../org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
 
b/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
index 208e9ad..ba391eb 100644
--- 
a/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
+++ 
b/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
@@ -140,7 +140,7 @@ public class ProtonFrameLoggingHandler implements 
EngineHandler {
         if (payload == null) {
             LOG.trace("{}:[{}:{}] {}", prefix, connection, channel, 
performative);
         } else {
-            LOG.trace("{}:[{}:{}] {} - {}", prefix, connection, performative, 
StringUtils.toQuotedString(payload, PAYLOAD_STRING_LIMIT, true));
+            LOG.trace("{}:[{}:{}] {} - {}", prefix, connection, channel, 
performative, StringUtils.toQuotedString(payload, PAYLOAD_STRING_LIMIT, true));
         }
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to