summaryrefslogtreecommitdiff
path: root/include/ibm
diff options
context:
space:
mode:
Diffstat (limited to 'include/ibm')
-rw-r--r--include/ibm/management_console_rest.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp
index a9e0ec4540..8e307464ca 100644
--- a/include/ibm/management_console_rest.hpp
+++ b/include/ibm/management_console_rest.hpp
@@ -136,7 +136,7 @@ inline void handleFilePut(const crow::Request& req,
// Form the file path
loc /= fileID;
- BMCWEB_LOG_DEBUG << "Writing to the file: " << loc;
+ BMCWEB_LOG_DEBUG << "Writing to the file: " << loc.string();
// Check if the same file exists in the directory
bool fileExists = std::filesystem::exists(loc, ec);
@@ -305,7 +305,7 @@ inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
"/var/lib/bmcweb/ibm-management-console/configfiles/" + fileID);
if (!std::filesystem::exists(loc))
{
- BMCWEB_LOG_ERROR << loc << "Not found";
+ BMCWEB_LOG_ERROR << loc.string() << "Not found";
asyncResp->res.result(boost::beast::http::status::not_found);
asyncResp->res.jsonValue["Description"] = resourceNotFoundMsg;
return;