diff options
author | Alan Conway <aconway@apache.org> | 2011-03-16 14:16:36 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2011-03-16 14:16:36 +0000 |
commit | ef070d7d885bc1657037ec91c3d85516b9b30452 (patch) | |
tree | 9b26017f4ff19eeca5537aecec45696e1212663e | |
parent | 83490261409099f904dc3f06d62d99a8717f2212 (diff) | |
download | qpid-python-ef070d7d885bc1657037ec91c3d85516b9b30452.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
Merged from trunk r1081548.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.10@1082154 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"); } |