diff options
Diffstat (limited to 'http/parsing.hpp')
-rw-r--r-- | http/parsing.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/parsing.hpp b/http/parsing.hpp index f16d8903da..839b51cae1 100644 --- a/http/parsing.hpp +++ b/http/parsing.hpp @@ -24,7 +24,7 @@ inline JsonParseResult parseRequestAsJson(const crow::Request& req, if (!boost::iequals(contentType, "application/json") && !boost::iequals(contentType, "application/json; charset=utf-8")) { - BMCWEB_LOG_WARNING << "Failed to parse content type on request"; + BMCWEB_LOG_WARNING("Failed to parse content type on request"); #ifndef BMCWEB_INSECURE_IGNORE_CONTENT_TYPE return JsonParseResult::BadContentType; #endif @@ -32,7 +32,7 @@ inline JsonParseResult parseRequestAsJson(const crow::Request& req, jsonOut = nlohmann::json::parse(req.body(), nullptr, false); if (jsonOut.is_discarded()) { - BMCWEB_LOG_WARNING << "Failed to parse json in request"; + BMCWEB_LOG_WARNING("Failed to parse json in request"); return JsonParseResult::BadJsonData; } |