summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2012-03-08 20:09:51 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2012-03-08 20:09:51 +0000
commitd1d5bcd413cb40649cf9e74d033600c6928a934c (patch)
tree1e6880b2ea1ea0c2a8b39f6d3203dbdab3c53a35
parentddb90a4423bffd0f268b37fa22e9f574ebb3334c (diff)
downloadqpid-python-d1d5bcd413cb40649cf9e74d033600c6928a934c.tar.gz
QPID-3885 Changed the log level for flow control messages to info (was
debug). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298556 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
index 8fb4da550d..efc5982dac 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
+++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
@@ -3133,9 +3133,9 @@ public abstract class AMQSession<C extends BasicMessageConsumer, P extends Basic
public void setFlowControl(final boolean active)
{
_flowControl.setFlowControl(active);
- if (_logger.isDebugEnabled())
+ if (_logger.isInfoEnabled())
{
- _logger.debug("Broker enforced flow control " + (active ? "no longer in effect" : "has been enforced"));
+ _logger.info("Broker enforced flow control " + (active ? "no longer in effect" : "has been enforced"));
}
}
@@ -3150,9 +3150,9 @@ public abstract class AMQSession<C extends BasicMessageConsumer, P extends Basic
{
_flowControl.wait(_flowControlWaitPeriod);
- if (_logger.isDebugEnabled())
+ if (_logger.isInfoEnabled())
{
- _logger.debug("Message send delayed by " + (System.currentTimeMillis() + _flowControlWaitFailure - expiryTime)/1000 + "s due to broker enforced flow control");
+ _logger.info("Message send delayed by " + (System.currentTimeMillis() + _flowControlWaitFailure - expiryTime)/1000 + "s due to broker enforced flow control");
}
}
if(!_flowControl.getFlowControl())