diff --git a/src/lib/utility/ConfigManager.cpp b/src/lib/utility/ConfigManager.cpp index 785b02ef..dc658b27 100644 --- a/src/lib/utility/ConfigManager.cpp +++ b/src/lib/utility/ConfigManager.cpp @@ -41,7 +41,7 @@ bool ConfigManager::getValue(const std::string& key, std::string& value) const { if (m_warnOnEmptyKey) { - LOG_WARNING("value " + key + " is not present in config."); + // LOG_WARNING("value " + key + " is not present in config."); } return false; } @@ -99,7 +99,7 @@ bool ConfigManager::getValues(const std::string& key, std::vector& { if (m_warnOnEmptyKey) { - LOG_WARNING("value " + key + " is not present in config."); + // LOG_WARNING("value " + key + " is not present in config."); } return false; } @@ -267,6 +267,7 @@ void ConfigManager::setWarnOnEmptyKey(bool warnOnEmptyKey) const } ConfigManager::ConfigManager() + : m_warnOnEmptyKey(true) { }