qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1081548 - /qpid/trunk/qpid/cpp/src/qpid/Modules.cpp
Date Mon, 14 Mar 2011 20:29:02 GMT
Author: aconway
Date: Mon Mar 14 20:29:02 2011
New Revision: 1081548

URL: http://svn.apache.org/viewvc?rev=1081548&view=rev
Log:
QPID-3144: Remove "loaded module" info log message.

These messages, printed at plugin load time, interfere with qpidd
--check. It is supposed to print the PID of a running qpidd daemon to
stdout, for use in scripts and the like.  However with log-to-stdout
enabled these messages obscure the PID.

They are in any case of little value, individual plugins can log their
start-up messages on initialization time which does not cause a
problem

Modified:
    qpid/trunk/qpid/cpp/src/qpid/Modules.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/Modules.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/Modules.cpp?rev=1081548&r1=1081547&r2=1081548&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/Modules.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/Modules.cpp Mon Mar 14 20:29:02 2011
@@ -64,7 +64,6 @@ void tryShlib(const char* libname_, bool
     if (!isShlibName(libname)) libname += suffix();
     try {
         sys::Shlib shlib(libname);
-        QPID_LOG (info, "Loaded Module: " << libname);
     }
     catch (const std::exception& /*e*/) {
         if (!noThrow)
@@ -82,7 +81,7 @@ void loadModuleDir (std::string dirname,
             return;
         throw Exception ("Directory not found: " + dirname);
     }
-    if (!fs::is_directory(dirPath)) 
+    if (!fs::is_directory(dirPath))
     {
         throw Exception ("Invalid value for module-dir: " + dirname + " is not a directory");
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message