From cfeb8d872a9a90cd688df7f3593da826bc7bfa5c Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 15 Nov 2023 21:04:25 +0100 Subject: [PATCH] log whole error messages Signed-off-by: Simon L --- php/public/index.php | 3 +++ php/src/Cron/StartAndUpdateContainers.php | 3 +++ php/src/Cron/StartContainers.php | 3 +++ 3 files changed, 9 insertions(+) diff --git a/php/public/index.php b/php/public/index.php index 7397782e..1c997f3b 100644 --- a/php/public/index.php +++ b/php/public/index.php @@ -7,6 +7,9 @@ ini_set('memory_limit', '2048M'); // set max execution time to 2h just in case of a very slow internet connection ini_set('max_execution_time', '7200'); +// Log whole log messages +ini_set('log_errors_max_len', '0'); + use DI\Container; use Slim\Csrf\Guard; use Slim\Factory\AppFactory; diff --git a/php/src/Cron/StartAndUpdateContainers.php b/php/src/Cron/StartAndUpdateContainers.php index e72ae804..049245af 100644 --- a/php/src/Cron/StartAndUpdateContainers.php +++ b/php/src/Cron/StartAndUpdateContainers.php @@ -4,6 +4,9 @@ declare(strict_types=1); // increase memory limit to 2GB ini_set('memory_limit', '2048M'); +// Log whole log messages +ini_set('log_errors_max_len', '0'); + use DI\Container; require __DIR__ . '/../../vendor/autoload.php'; diff --git a/php/src/Cron/StartContainers.php b/php/src/Cron/StartContainers.php index 98f9ae8f..366866ad 100644 --- a/php/src/Cron/StartContainers.php +++ b/php/src/Cron/StartContainers.php @@ -4,6 +4,9 @@ declare(strict_types=1); // increase memory limit to 2GB ini_set('memory_limit', '2048M'); +// Log whole log messages +ini_set('log_errors_max_len', '0'); + use DI\Container; require __DIR__ . '/../../vendor/autoload.php';