Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mtconnect/configuration/agent_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/mtconnect/configuration/agent_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down