summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/openbmc_dbus_rest.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp
index dd1dac37d9..e1d66f56e9 100644
--- a/include/openbmc_dbus_rest.hpp
+++ b/include/openbmc_dbus_rest.hpp
@@ -597,10 +597,7 @@ inline int convertJsonToDbus(sd_bus_message* m, const std::string& argType,
const nlohmann::json& inputJson)
{
int r = 0;
- BMCWEB_LOG_DEBUG(
- "Converting {} to type: {}",
- inputJson.dump(2, ' ', true, nlohmann::json::error_handler_t::replace),
- argType);
+ BMCWEB_LOG_DEBUG("Converting {} to type: {}", inputJson, argType);
const std::vector<std::string> argTypes = dbusArgSplit(argType);
// Assume a single object for now.