mirror of https://gitee.com/bigwinds/arangodb
fixed wrong logging test for http-request-body
This commit is contained in:
parent
131114292b
commit
c87d95f72b
|
@ -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)) << "\"";
|
||||
|
|
Loading…
Reference in New Issue