diff options
Diffstat (limited to 'redfish-core/lib/redfish_v1.hpp')
-rw-r--r-- | redfish-core/lib/redfish_v1.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/redfish_v1.hpp b/redfish-core/lib/redfish_v1.hpp index b7a1f4cb21..a591763f57 100644 --- a/redfish-core/lib/redfish_v1.hpp +++ b/redfish-core/lib/redfish_v1.hpp @@ -39,7 +39,7 @@ inline void redfish404(App& app, const crow::Request& req, return; } - BMCWEB_LOG_WARNING << "404 on path " << path; + BMCWEB_LOG_WARNING("404 on path {}", path); std::string name = req.url().segments().back(); // Note, if we hit the wildcard route, we don't know the "type" the user was @@ -59,7 +59,7 @@ inline void redfish405(App& app, const crow::Request& req, return; } - BMCWEB_LOG_WARNING << "405 on path " << path; + BMCWEB_LOG_WARNING("405 on path {}", path); asyncResp->res.result(boost::beast::http::status::method_not_allowed); if (req.method() == boost::beast::http::verb::delete_) { |