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
The following commit(s) were added to refs/heads/new-logging by this push:
new ae15dfb251 NO-JIRA some real debug I made with the new logging - just
squash with everything else
ae15dfb251 is described below
commit ae15dfb25111f3e760debd8672162a248c58c5d3
Author: Clebert Suconic <[email protected]>
AuthorDate: Tue Sep 13 23:02:55 2022 -0400
NO-JIRA some real debug I made with the new logging - just squash with
everything else
---
.../artemis/core/remoting/server/impl/RemotingServiceImpl.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
index fcc9f77584..d2c0c81c10 100644
---
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
+++
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/server/impl/RemotingServiceImpl.java
@@ -492,7 +492,9 @@ public class RemotingServiceImpl implements
RemotingService, ServerConnectionLif
ConnectionEntry entry = connections.remove(remotingConnectionID);
if (entry != null) {
- logger.debug("RemotingServiceImpl::removing connection ID " +
remotingConnectionID);
+ if (logger.isDebugEnabled()) {
+ logger.debug("RemotingServiceImpl::removing succeeded connection
ID {}, we now have {} connections", remotingConnectionID, connections.size());
+ }
connectionCountLatch.countDown();
return entry.connection;
} else {
@@ -582,6 +584,9 @@ public class RemotingServiceImpl implements
RemotingService, ServerConnectionLif
@Override
public void addConnectionEntry(Connection connection, ConnectionEntry
entry) {
connections.put(connection.getID(), entry);
+ if (logger.isDebugEnabled()) {
+ logger.debug("Adding connection {}, we now have {}",
connection.getID(), connections.size());
+ }
}
@Override