summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/BrokerQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/BrokerQueue.cpp')
-rw-r--r--cpp/src/qpid/broker/BrokerQueue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/BrokerQueue.cpp b/cpp/src/qpid/broker/BrokerQueue.cpp
index 0fbff0f8fd..ee1a913a96 100644
--- a/cpp/src/qpid/broker/BrokerQueue.cpp
+++ b/cpp/src/qpid/broker/BrokerQueue.cpp
@@ -21,6 +21,7 @@
#include <boost/format.hpp>
+#include "qpid/log/Statement.h"
#include "BrokerQueue.h"
#include "MessageStore.h"
#include "qpid/sys/Monitor.h"
@@ -78,7 +79,7 @@ bool Queue::dispatch(Message::shared_ptr& msg){
return false;
}else if(exclusive){
if(!exclusive->deliver(msg)){
- std::cout << "WARNING: Dropping undeliverable message from queue with exclusive consumer." << std::endl;
+ QPID_LOG(warning, "Dropping undeliverable message from queue with exclusive consumer.");
}
return true;
}else{