You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/07/22 17:52:17 UTC

[activemq-artemis] 23/42: fix some more placeholders missed previously

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

clebertsuconic pushed a commit to branch new-logging
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 8e81c2d76ffdcd76da411dfcaccbb2ca384a377d
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Fri Jul 15 16:01:49 2022 +0100

    fix some more placeholders missed previously
---
 .../activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java     | 2 +-
 .../activemq/artemis/core/remoting/impl/netty/NettyConnector.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
index b091c039e6..b12e51d198 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java
@@ -556,7 +556,7 @@ public class ClientSessionFactoryImpl implements ClientSessionFactoryInternal, C
    private void failoverOrReconnect(final Object connectionID,
                                     final ActiveMQException me,
                                     String scaleDownTargetNodeID) {
-      logger.debug("Failure captured on connectionID={0}, performing failover or reconnection now", connectionID, me);
+      logger.debug("Failure captured on connectionID={}, performing failover or reconnection now", connectionID, me);
 
       for (ClientSessionInternal session : sessions) {
          SessionContext context = session.getSessionContext();
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
index f631231f27..4c8aacd1b4 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
@@ -741,7 +741,7 @@ public class NettyConnector extends AbstractConnector {
 
          batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
       }
-      logger.debug("Started {0} Netty Connector version {1} to {2}:{3,number,#}", connectorType, TransportConstants.NETTY_VERSION, host, port);
+      logger.debug("Started {} Netty Connector version {} to {}:{}", connectorType, TransportConstants.NETTY_VERSION, host, port);
    }
 
    private SSLEngine loadJdkSslEngine(final SSLContextConfig sslContextConfig) throws Exception {