mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4621 - return modified trace logging
This commit is contained in:
parent
25af8e62cc
commit
269d44cfdd
|
@ -149,10 +149,10 @@ public class AbortSlowAckConsumerStrategy extends AbortSlowConsumerStrategy {
|
|||
if (getMaxSlowDuration() > 0 && (entry.getValue().markCount * getCheckPeriod() >= getMaxSlowDuration()) ||
|
||||
getMaxSlowCount() > 0 && entry.getValue().slowCount >= getMaxSlowCount()) {
|
||||
|
||||
LOG.trace("Transferring consumer {} to the abort list: " +
|
||||
"slow duration = " + entry.getValue().markCount * getCheckPeriod() + ", " +
|
||||
"slow count = " + entry.getValue().slowCount,
|
||||
entry.getKey().getConsumerInfo().getConsumerId());
|
||||
LOG.trace("Transferring consumer{} to the abort list: {} slow duration = {}, slow count = {}",
|
||||
new Object[]{ entry.getKey().getConsumerInfo().getConsumerId(),
|
||||
entry.getValue().markCount * getCheckPeriod(),
|
||||
entry.getValue().getSlowCount() });
|
||||
|
||||
toAbort.put(entry.getKey(), entry.getValue());
|
||||
slowConsumers.remove(entry.getKey());
|
||||
|
|
Loading…
Reference in New Issue