You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2007/08/08 15:50:45 UTC
svn commit: r563880 - in /incubator/qpid/trunk/qpid/cpp/src:
qpid/broker/NullMessageStore.cpp tests/stop_broker
Author: aconway
Date: Wed Aug 8 06:50:44 2007
New Revision: 563880
URL: http://svn.apache.org/viewvc?view=rev&rev=563880
Log:
NullMessageStore log levels changed from warning to info.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/broker/NullMessageStore.cpp
incubator/qpid/trunk/qpid/cpp/src/tests/stop_broker
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/NullMessageStore.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/NullMessageStore.cpp?view=diff&rev=563880&r1=563879&r2=563880
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/NullMessageStore.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/NullMessageStore.cpp Wed Aug 8 06:50:44 2007
@@ -51,17 +51,17 @@
void NullMessageStore::create(const PersistableQueue& queue)
{
- QPID_LOG(warning, "Can't create durable queue '" << queue.getName() << "'. Persistence not enabled.");
+ QPID_LOG(info, "Can't create durable queue '" << queue.getName() << "'. Persistence not enabled.");
}
void NullMessageStore::destroy(const PersistableQueue& queue)
{
- QPID_LOG(warning, "Can't destroy durable queue '" << queue.getName() << "'. Persistence not enabled.");
+ QPID_LOG(info, "Can't destroy durable queue '" << queue.getName() << "'. Persistence not enabled.");
}
void NullMessageStore::create(const PersistableExchange& exchange)
{
- QPID_LOG(warning, "Can't create durable exchange '"
+ QPID_LOG(info, "Can't create durable exchange '"
<< exchange.getName() << "'. Persistence not enabled.");
}
@@ -74,37 +74,37 @@
void NullMessageStore::recover(RecoveryManager&)
{
- QPID_LOG(warning, "Persistence not enabled, no recovery attempted.");
+ QPID_LOG(info, "Persistence not enabled, no recovery attempted.");
}
void NullMessageStore::stage(PersistableMessage&)
{
- QPID_LOG(warning, "Can't stage message. Persistence not enabled.");
+ QPID_LOG(info, "Can't stage message. Persistence not enabled.");
}
void NullMessageStore::destroy(PersistableMessage&)
{
- QPID_LOG(warning, "No need to destroy staged message. Persistence not enabled.");
+ QPID_LOG(info, "No need to destroy staged message. Persistence not enabled.");
}
void NullMessageStore::appendContent(PersistableMessage&, const string&)
{
- QPID_LOG(warning, "Can't load content. Persistence not enabled.");
+ QPID_LOG(info, "Can't load content. Persistence not enabled.");
}
void NullMessageStore::loadContent(PersistableMessage&, string&, uint64_t, uint32_t)
{
- QPID_LOG(warning, "Can't load content. Persistence not enabled.");
+ QPID_LOG(info, "Can't load content. Persistence not enabled.");
}
void NullMessageStore::enqueue(TransactionContext*, PersistableMessage&, const PersistableQueue& queue)
{
- QPID_LOG(warning, "Can't enqueue message onto '" << queue.getName() << "'. Persistence not enabled.");
+ QPID_LOG(info, "Can't enqueue message onto '" << queue.getName() << "'. Persistence not enabled.");
}
void NullMessageStore::dequeue(TransactionContext*, PersistableMessage&, const PersistableQueue& queue)
{
- QPID_LOG(warning, "Can't dequeue message from '" << queue.getName() << "'. Persistence not enabled.");
+ QPID_LOG(info, "Can't dequeue message from '" << queue.getName() << "'. Persistence not enabled.");
}
std::auto_ptr<TransactionContext> NullMessageStore::begin()
Modified: incubator/qpid/trunk/qpid/cpp/src/tests/stop_broker
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/tests/stop_broker?view=diff&rev=563880&r1=563879&r2=563880
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/tests/stop_broker (original)
+++ incubator/qpid/trunk/qpid/cpp/src/tests/stop_broker Wed Aug 8 06:50:44 2007
@@ -9,8 +9,8 @@
while ../qpidd --check >/dev/null 2>&1; do true; done
# Check qpidd.log.
-egrep 'warn|error|critical' qpidd.log && {
- echo "Suspicious broker log entries in qpidd.log."
+egrep 'warning|error|critical' qpidd.log && {
+ echo "Suspicious broker log entries in qpidd.log, above."
ERROR=1
}