1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Merge pull request from Icinga/feature/api-debug-log-request-body

Enable the HTTP request body debug log entry for release builds
This commit is contained in:
Michael Friedrich 2018-10-09 13:29:00 +02:00 committed by GitHub
commit 9352f4bfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,10 +35,9 @@ Dictionary::Ptr HttpUtility::FetchRequestParameters(HttpRequest& request)
body += String(buffer, buffer + count);
if (!body.IsEmpty()) {
#ifdef I2_DEBUG
Log(LogDebug, "HttpUtility")
<< "Request body: '" << body << "'";
#endif /* I2_DEBUG */
result = JsonDecode(body);
}