From 68f725c798c9203772f4374ab0d37655aff6a526 Mon Sep 17 00:00:00 2001 From: stephan Date: Fri, 21 Aug 2026 14:51:44 -0400 Subject: [PATCH] Update Logger configuration: adjust logging threshold for production environments, clarify comments regarding logging verbosity, and remove unnecessary log levels to optimize performance on shared hosting. --- v4_ci4/app/Config/Logger.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/v4_ci4/app/Config/Logger.php b/v4_ci4/app/Config/Logger.php index 799dc2c3..759cf086 100644 --- a/v4_ci4/app/Config/Logger.php +++ b/v4_ci4/app/Config/Logger.php @@ -34,12 +34,12 @@ class Logger extends BaseConfig * * array(1, 2, 3, 8) = Emergency, Alert, Critical, and Debug messages * - * For a live site you'll usually enable Critical or higher (3) to be logged otherwise - * your log files will fill up very fast. + * CRM sur hébergement partagé : JAMAIS threshold 9 (debug). + * development + Radar/feed en boucle = logs qui peuvent saturer le quota. * * @var int|list */ - public $threshold = (ENVIRONMENT === 'production') ? 4 : 9; + public $threshold = 4; /** * -------------------------------------------------------------------------- @@ -88,11 +88,8 @@ class Logger extends BaseConfig 'critical', 'alert', 'emergency', - 'debug', 'error', - 'info', - 'notice', - 'warning', + // pas debug/info/notice — trop verbeux sur cPanel ], /*