diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ibm/management_console_rest.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp index 6e4e7bbbfc..c56b3909c1 100644 --- a/include/ibm/management_console_rest.hpp +++ b/include/ibm/management_console_rest.hpp @@ -308,7 +308,7 @@ inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, "/var/lib/bmcweb/ibm-management-console/configfiles/" + fileID); if (!std::filesystem::exists(loc) || !std::filesystem::is_regular_file(loc)) { - BMCWEB_LOG_ERROR << loc.string() << " Not found"; + BMCWEB_LOG_WARNING << loc.string() << " Not found"; asyncResp->res.result(boost::beast::http::status::not_found); asyncResp->res.jsonValue["Description"] = resourceNotFoundMsg; return; @@ -317,7 +317,7 @@ inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, std::ifstream readfile(loc.string()); if (!readfile) { - BMCWEB_LOG_ERROR << loc.string() << " Not found"; + BMCWEB_LOG_WARNING << loc.string() << " Not found"; asyncResp->res.result(boost::beast::http::status::not_found); asyncResp->res.jsonValue["Description"] = resourceNotFoundMsg; return; @@ -358,7 +358,7 @@ inline void } else { - BMCWEB_LOG_ERROR << "File not found!\n"; + BMCWEB_LOG_WARNING << "File not found!\n"; asyncResp->res.result(boost::beast::http::status::not_found); asyncResp->res.jsonValue["Description"] = resourceNotFoundMsg; } |
