mirror of https://github.com/apache/activemq.git
Update some logging for better coverage
This commit is contained in:
parent
a5c2f3f423
commit
2013c6a54f
|
@ -220,7 +220,7 @@ public class AmqpReceiver extends AmqpAbstractReceiver {
|
|||
delivery.disposition(rejected);
|
||||
} else {
|
||||
if (getEndpoint().getCredit() <= (getConfiguredReceiverCredit() * .2)) {
|
||||
LOG.trace("Sending more credit ({}) to producer: {}", getConfiguredReceiverCredit() - getEndpoint().getCredit(), getProducerId());
|
||||
LOG.debug("Sending more credit ({}) to producer: {}", getConfiguredReceiverCredit() - getEndpoint().getCredit(), getProducerId());
|
||||
getEndpoint().flow(getConfiguredReceiverCredit() - getEndpoint().getCredit());
|
||||
}
|
||||
|
||||
|
@ -241,7 +241,7 @@ public class AmqpReceiver extends AmqpAbstractReceiver {
|
|||
});
|
||||
} else {
|
||||
if (getEndpoint().getCredit() <= (getConfiguredReceiverCredit() * .2)) {
|
||||
LOG.trace("Sending more credit ({}) to producer: {}", getConfiguredReceiverCredit() - getEndpoint().getCredit(), getProducerId());
|
||||
LOG.debug("Sending more credit ({}) to producer: {}", getConfiguredReceiverCredit() - getEndpoint().getCredit(), getProducerId());
|
||||
getEndpoint().flow(getConfiguredReceiverCredit() - getEndpoint().getCredit());
|
||||
session.pumpProtonToSocket();
|
||||
}
|
||||
|
|
|
@ -397,7 +397,7 @@ public class AmqpSender extends AmqpAbstractLink<Sender> {
|
|||
|
||||
final ActiveMQMessage jms = temp;
|
||||
if (jms == null) {
|
||||
LOG.info("End of browse signals endpoint drained.");
|
||||
LOG.trace("Sender:[{}] browse done.", getEndpoint().getName());
|
||||
// It's the end of browse signal in response to a MessagePull
|
||||
getEndpoint().drained();
|
||||
draining = false;
|
||||
|
|
Loading…
Reference in New Issue