diff --git a/src/mtconnect/configuration/agent_config.cpp b/src/mtconnect/configuration/agent_config.cpp index 00a7c523..6f8ccf90 100644 --- a/src/mtconnect/configuration/agent_config.cpp +++ b/src/mtconnect/configuration/agent_config.cpp @@ -174,7 +174,7 @@ namespace mtconnect::configuration { if (path) { // Check first if the file is in the current working directory... - LOG(info) << "Loading configuration from: " << *path; + LOG(debug) << "Loading configuration from: " << *path; cerr << "Loading configuration from:" << *path << endl; m_configFile = fs::canonical(*path); @@ -188,12 +188,12 @@ namespace mtconnect::configuration { FileFormat fmt = MTCONNECT; if (ends_with(m_configFile.string(), "json")) { - LOG(info) << "Parsing json configuration"; + LOG(debug) << "Parsing json configuration"; fmt = JSON; } else if (ends_with(m_configFile.string(), "xml")) { - LOG(info) << "Parsing xml configuration"; + LOG(debug) << "Parsing xml configuration"; fmt = XML; } loadConfig(buffer.str(), fmt); diff --git a/src/mtconnect/configuration/agent_config.hpp b/src/mtconnect/configuration/agent_config.hpp index 6469d1eb..175d017a 100644 --- a/src/mtconnect/configuration/agent_config.hpp +++ b/src/mtconnect/configuration/agent_config.hpp @@ -254,14 +254,14 @@ namespace mtconnect { std::error_code ec; if (std::filesystem::exists(tst, ec) && !ec) { - LOG(info) << "Found file '" << file << "' " + LOG(debug) << "Found file '" << file << "' " << " in path " << path; auto con {std::filesystem::canonical(tst)}; return con; } else { - LOG(info) << "Cannot find file '" << file << "' " + LOG(debug) << "Cannot find file '" << file << "' " << " in path " << path; } }