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 | 5f3fc9ce1861acb0ccb912f9a2326c82f0ad760c (patch) | |
tree | 8121209cc1f2dc6c0d1a45ef0115884b70039289 | |
parent | 5bb320ce3bf31b49865320f3d2240460eb19da9e (diff) | |
download | qpid-python-5f3fc9ce1861acb0ccb912f9a2326c82f0ad760c.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/qpid@1081548 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/Modules.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/Modules.cpp b/cpp/src/qpid/Modules.cpp index 8f58df6ed1..727e05d212 100644 --- a/cpp/src/qpid/Modules.cpp +++ b/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"); } |