ARTEMIS-4026: correct connection-router related log statement value and/or level
This commit is contained in:
parent
9647e6555f
commit
f465073744
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue