Update some logging for better coverage

This commit is contained in:
Timothy Bish 2015-04-16 18:46:40 -04:00
parent a5c2f3f423
commit 2013c6a54f
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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;