qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r731649 - in /qpid/trunk/qpid/cpp/src/qpid: broker/Broker.cpp log/Options.cpp sys/RdmaIOPlugin.cpp sys/SslPlugin.cpp sys/TCPIOPlugin.cpp
Date Mon, 05 Jan 2009 19:17:25 GMT
Author: aconway
Date: Mon Jan  5 11:17:24 2009
New Revision: 731649

URL: http://svn.apache.org/viewvc?rev=731649&view=rev
Log:
Log changes: logging default now notice+, "listening on" messages are at notice level.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
    qpid/trunk/qpid/cpp/src/qpid/log/Options.cpp
    qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
    qpid/trunk/qpid/cpp/src/qpid/sys/SslPlugin.cpp
    qpid/trunk/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp?rev=731649&r1=731648&r2=731649&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp Mon Jan  5 11:17:24 2009
@@ -284,7 +284,7 @@
 
 void Broker::run() {
     accept();
-
+    QPID_LOG(notice, "Broker running");
     Dispatcher d(poller);
     int numIOThreads = config.workerThreads;
     std::vector<Thread> t(numIOThreads-1);

Modified: qpid/trunk/qpid/cpp/src/qpid/log/Options.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/log/Options.cpp?rev=731649&r1=731648&r2=731649&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/log/Options.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/log/Options.cpp Mon Jan  5 11:17:24 2009
@@ -41,7 +41,7 @@
     trace(false),
     sinkOptions (SinkOptions::create(argv0_))
 {
-    selectors.push_back("error+");
+    selectors.push_back("notice+");
 
     ostringstream levels;
     levels << LevelTraits::name(Level(0));

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp?rev=731649&r1=731648&r2=731649&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp Mon Jan  5 11:17:24 2009
@@ -230,7 +230,7 @@
         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);
         }
     }

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/SslPlugin.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/SslPlugin.cpp?rev=731649&r1=731648&r2=731649&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/SslPlugin.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/SslPlugin.cpp Mon Jan  5 11:17:24 2009
@@ -98,7 +98,7 @@
                     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());

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp?rev=731649&r1=731648&r2=731649&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp Mon Jan  5 11:17:24 2009
@@ -70,7 +70,7 @@
             } 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);
             }
         }



Mime
View raw message