summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/Options.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/Options.cpp b/qpid/cpp/src/qpid/Options.cpp
index c0e955e2b3..ce96c3fee0 100644
--- a/qpid/cpp/src/qpid/Options.cpp
+++ b/qpid/cpp/src/qpid/Options.cpp
@@ -16,6 +16,7 @@
*
*/
+#include "qpid/log/Logger.h"
#include "qpid/Options.h"
#include "qpid/Exception.h"
@@ -196,6 +197,8 @@ void Options::parse(int argc, char const* const* argv, const std::string& config
// End of hack
}
else {
+ // log the inability to read the configuration file
+ QPID_LOG(warning, "Config file not read: " << configFile);
// No error if default configfile is missing/unreadable
// but complain for non-default config file.
if (configFile != defaultConfigFile)