From 6eb1f64a30e0f2fa45b6fa5398ea5e56a996d915 Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Thu, 13 Jun 2024 16:58:02 +0200 Subject: [PATCH 1/2] Log the trimmed output in debug mode when there are no errors --- core/collector.class.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/collector.class.inc.php b/core/collector.class.inc.php index 3b4d624..f09c582 100644 --- a/core/collector.class.inc.php +++ b/core/collector.class.inc.php @@ -708,6 +708,8 @@ public function Synchronize($iMaxChunkSize = 0) Utils::Log(LOG_ERR, $sTrimmedOutput); return false; + } else { + Utils::Log(LOG_DEBUG, $sTrimmedOutput); } } From 5d9acb39b011c1ff7f133af352c6dc954e01a8f3 Mon Sep 17 00:00:00 2001 From: Thomas Casteleyn Date: Thu, 13 Jun 2024 17:01:54 +0200 Subject: [PATCH 2/2] Revert previous default behaviour --- conf/params.distrib.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/params.distrib.xml b/conf/params.distrib.xml index c11fad3..0992f35 100644 --- a/conf/params.distrib.xml +++ b/conf/params.distrib.xml @@ -107,5 +107,5 @@ - Y-m-d + Y-m-d H:i:s