From f7dc5b55fc1657d5bd9c505ada4e0898c57bc216 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 14 Mar 2011 20:29:02 +0000 Subject: 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 --- qpid/cpp/src/qpid/Modules.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src') 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"); } -- cgit v1.2.1