diff options
author | Alan Conway <aconway@apache.org> | 2011-03-14 20:29:02 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2011-03-14 20:29:02 +0000 |
commit | f7dc5b55fc1657d5bd9c505ada4e0898c57bc216 (patch) | |
tree | b9ae03c2b8e11766d482d24f9d4913dbda6459eb | |
parent | 68b14db3beb03211da58b94110ce697c8ef6d0c7 (diff) | |
download | qpid-python-f7dc5b55fc1657d5bd9c505ada4e0898c57bc216.tar.gz |
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
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081548 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/Modules.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/Modules.cpp b/qpid/cpp/src/qpid/Modules.cpp index 8f58df6ed1..727e05d212 100644 --- a/qpid/cpp/src/qpid/Modules.cpp +++ b/qpid/cpp/src/qpid/Modules.cpp @@ -64,7 +64,6 @@ void tryShlib(const char* libname_, bool noThrow) { 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, bool isDefault) 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"); } |