mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Первичная интеграция логирования ошибок в sentry
This commit is contained in:
@@ -21,6 +21,17 @@ return [
|
||||
'log' => [
|
||||
'traceLevel' => YII_DEBUG ? 3 : 0,
|
||||
'targets' => [
|
||||
[
|
||||
'class' => mito\sentry\SentryTarget::class,
|
||||
'levels' => ['error', 'warning'],
|
||||
'except' => [
|
||||
'legacy-authserver',
|
||||
'session',
|
||||
'yii\web\HttpException:*',
|
||||
'api\modules\session\exceptions\SessionServerException:*',
|
||||
'api\modules\authserver\exceptions\AuthserverException:*',
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => yii\log\FileTarget::class,
|
||||
'levels' => ['error', 'warning'],
|
||||
|
Reference in New Issue
Block a user