From: Vladimir Fomichev Date: Thu, 29 Jan 2026 15:10:29 +0000 (+0300) Subject: Убираем логирование в телеграм X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=25cbe7fcc9443c7ceb5895b01c2893d29d27138a;p=erp24_rep%2Fyii-erp24%2F.git Убираем логирование в телеграм --- diff --git a/erp24/config/web.php b/erp24/config/web.php index 25f517eb..b2c206e6 100644 --- a/erp24/config/web.php +++ b/erp24/config/web.php @@ -96,9 +96,6 @@ $config = [ [ 'class' => 'app\log\TelegramTarget', 'levels' => ['error', 'warning'], - 'except' => [ - 'yii\debug\*', // Исключаем сообщения debug-панели - ], // 'categories' => ['api.error', 'js.error', 'command.error'], ], ], @@ -154,6 +151,7 @@ if (YII_ENV_DEV) { $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', 'allowedIPs' => $debugAllowedIPs, + 'disableIpRestrictionWarning' => true, ]; $config['bootstrap'][] = 'gii';