ARTEMIS-4026: correct connection-router related log statement value and/or level

This commit is contained in:
Robbie Gemmell 2022-10-03 15:11:06 +01:00
parent 9647e6555f
commit f465073744
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,8 @@ public class LocalCache implements Cache, RemovalListener<String, String> {
if (persistedCacheEntries != null) {
for (Map.Entry<String, PersistedKeyValuePair> cacheEntry : persistedCacheEntries.entrySet()) {
cache.put(cacheEntry.getKey(), cacheEntry.getValue().getValue());
logger.info(cacheEntry.toString());
logger.debug("Restored persisted cache entry during start: {}", cacheEntry);
}
}
}

View File

@ -59,7 +59,7 @@ public class LeastConnectionsPolicy extends RoundRobinPolicy {
connectionCount = 0;
} else if (logger.isDebugEnabled()) {
logger.debug("Updating the connection count to 0/" + connectionCount + " for the target " + target);
logger.debug("Updating the connection count to " + connectionCount + " for the target " + target);
}
connectionCountCache.put(target, connectionCount);