1
0
Fork 0

fixed wrong logging test for http-request-body

This commit is contained in:
Frank Celler 2018-07-05 11:35:30 +02:00
parent 131114292b
commit c87d95f72b
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ void HttpCommTask::processRequest(std::unique_ptr<HttpRequest> request) {
std::string const& body = request->body();
if (!body.empty() && Logger::isEnabled(LogLevel::TRACE)) {
if (!body.empty() && Logger::isEnabled(LogLevel::TRACE, Logger::REQUESTS)) {
LOG_TOPIC(TRACE, Logger::REQUESTS)
<< "\"http-request-body\",\"" << (void*)this << "\",\""
<< (StringUtils::escapeUnicode(body)) << "\"";