summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-05 19:17:24 +0000
committerAlan Conway <aconway@apache.org>2009-01-05 19:17:24 +0000
commit21f1f2b2eb3ec0b9f2241779987a035f88337b09 (patch)
tree35ad2b8f7a90d6b2d203f37e7dad8e9c87ad014b
parent355c68df8dd6f2db8ab6b2fc58a68348dcb702db (diff)
downloadqpid-python-21f1f2b2eb3ec0b9f2241779987a035f88337b09.tar.gz
Log changes: logging default now notice+, "listening on" messages are at notice level.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@731649 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/broker/Broker.cpp2
-rw-r--r--qpid/cpp/src/qpid/log/Options.cpp2
-rw-r--r--qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp2
-rw-r--r--qpid/cpp/src/qpid/sys/SslPlugin.cpp2
-rw-r--r--qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/qpid/cpp/src/qpid/broker/Broker.cpp b/qpid/cpp/src/qpid/broker/Broker.cpp
index f7fe05e860..64be104b98 100644
--- a/qpid/cpp/src/qpid/broker/Broker.cpp
+++ b/qpid/cpp/src/qpid/broker/Broker.cpp
@@ -284,7 +284,7 @@ void Broker::setStore (MessageStore* _store)
void Broker::run() {
accept();
-
+ QPID_LOG(notice, "Broker running");
Dispatcher d(poller);
int numIOThreads = config.workerThreads;
std::vector<Thread> t(numIOThreads-1);
diff --git a/qpid/cpp/src/qpid/log/Options.cpp b/qpid/cpp/src/qpid/log/Options.cpp
index 4462099eb2..a33da6fd8f 100644
--- a/qpid/cpp/src/qpid/log/Options.cpp
+++ b/qpid/cpp/src/qpid/log/Options.cpp
@@ -41,7 +41,7 @@ Options::Options(const std::string& argv0_, const std::string& name_) :
trace(false),
sinkOptions (SinkOptions::create(argv0_))
{
- selectors.push_back("error+");
+ selectors.push_back("notice+");
ostringstream levels;
levels << LevelTraits::name(Level(0));
diff --git a/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
index b24dfcc35f..8afe8ba5ef 100644
--- a/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
+++ b/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
@@ -230,7 +230,7 @@ static class RdmaIOPlugin : public Plugin {
if (broker) {
const broker::Broker::Options& opts = broker->getOptions();
ProtocolFactory::shared_ptr protocol(new RdmaIOProtocolFactory(opts.port, opts.connectionBacklog));
- QPID_LOG(info, "Rdma: Listening on RDMA port " << protocol->getPort());
+ QPID_LOG(notice, "Rdma: Listening on RDMA port " << protocol->getPort());
broker->registerProtocolFactory("rdma", protocol);
}
}
diff --git a/qpid/cpp/src/qpid/sys/SslPlugin.cpp b/qpid/cpp/src/qpid/sys/SslPlugin.cpp
index c519f5dc80..14052c2ee4 100644
--- a/qpid/cpp/src/qpid/sys/SslPlugin.cpp
+++ b/qpid/cpp/src/qpid/sys/SslPlugin.cpp
@@ -98,7 +98,7 @@ static struct SslPlugin : public Plugin {
const broker::Broker::Options& opts = broker->getOptions();
ProtocolFactory::shared_ptr protocol(new SslProtocolFactory(options,
opts.connectionBacklog, opts.tcpNoDelay));
- QPID_LOG(info, "Listening for SSL connections on TCP port " << protocol->getPort());
+ QPID_LOG(notice, "Listening for SSL connections on TCP port " << protocol->getPort());
broker->registerProtocolFactory("ssl", protocol);
} catch (const std::exception& e) {
QPID_LOG(error, "Failed to initialise SSL plugin: " << e.what());
diff --git a/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp b/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp
index a66aca1849..be091f86d8 100644
--- a/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp
+++ b/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp
@@ -70,7 +70,7 @@ static class TCPIOPlugin : public Plugin {
} else {
ProtocolFactory::shared_ptr protocol(new AsynchIOProtocolFactory(opts.port, opts.connectionBacklog,
opts.tcpNoDelay));
- QPID_LOG(info, "Listening on TCP port " << protocol->getPort());
+ QPID_LOG(notice, "Listening on TCP port " << protocol->getPort());
broker->registerProtocolFactory("tcp", protocol);
}
}