mirror of https://github.com/Icinga/icinga2.git
Enable the HTTP request body debug log entry for release builds
fixes #4282
This commit is contained in:
parent
051b3ba9b7
commit
73263b7702
|
@ -35,10 +35,9 @@ Dictionary::Ptr HttpUtility::FetchRequestParameters(HttpRequest& request)
|
||||||
body += String(buffer, buffer + count);
|
body += String(buffer, buffer + count);
|
||||||
|
|
||||||
if (!body.IsEmpty()) {
|
if (!body.IsEmpty()) {
|
||||||
#ifdef I2_DEBUG
|
|
||||||
Log(LogDebug, "HttpUtility")
|
Log(LogDebug, "HttpUtility")
|
||||||
<< "Request body: '" << body << "'";
|
<< "Request body: '" << body << "'";
|
||||||
#endif /* I2_DEBUG */
|
|
||||||
result = JsonDecode(body);
|
result = JsonDecode(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue