]> granicus.if.org Git - icinga2/commitdiff
Enable the HTTP request body debug log entry for release builds 6657/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Tue, 9 Oct 2018 10:55:53 +0000 (12:55 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Tue, 9 Oct 2018 10:55:53 +0000 (12:55 +0200)
fixes #4282

lib/remote/httputility.cpp

index 2788a03b20699d5520ebae6159fe3f15fab04320..1647c46aa59f530b52f25a03fb325d3157b7469a 100644 (file)
@@ -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);
        }