server: logs: do not truncate log values

This commit is contained in:
Pierrick HYMBERT 2024-03-02 14:01:06 +01:00
parent 616d7e9a9b
commit 2495f7273a

View file

@ -126,7 +126,7 @@ static inline void server_log(const char *level, const char *function, int line,
for (const auto& el : log.items()) for (const auto& el : log.items())
{ {
const std::string value = el.value().dump(-1, ' ', false, json::error_handler_t::replace); const std::string value = el.value().dump(-1, ' ', false, json::error_handler_t::replace);
ss << el.key() << "=" << value; ss << " " << el.key() << "=" << value;
} }
const std::string str = ss.str(); const std::string str = ss.str();