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 ], /*