From 73263b77027c813c71332338cc04d2f16e93e35d Mon Sep 17 00:00:00 2001
From: Michael Friedrich <michael.friedrich@icinga.com>
Date: Tue, 9 Oct 2018 12:55:53 +0200
Subject: [PATCH] Enable the HTTP request body debug log entry for release
 builds

fixes #4282
---
 lib/remote/httputility.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/remote/httputility.cpp b/lib/remote/httputility.cpp
index 2788a03b2..1647c46aa 100644
--- a/lib/remote/httputility.cpp
+++ b/lib/remote/httputility.cpp
@@ -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);
 	}
 
-- 
2.40.0