mirror of
https://github.com/elyby/accounts.git
synced 2024-12-28 08:00:25 +05:30
Обновление версии компонента для отправки логов в sentry
This commit is contained in:
parent
4623063074
commit
8570cfcbfa
@ -22,7 +22,7 @@ return [
|
|||||||
'traceLevel' => YII_DEBUG ? 3 : 0,
|
'traceLevel' => YII_DEBUG ? 3 : 0,
|
||||||
'targets' => [
|
'targets' => [
|
||||||
[
|
[
|
||||||
'class' => mito\sentry\SentryTarget::class,
|
'class' => mito\sentry\Target::class,
|
||||||
'levels' => ['error', 'warning'],
|
'levels' => ['error', 'warning'],
|
||||||
'except' => [
|
'except' => [
|
||||||
'legacy-authserver',
|
'legacy-authserver',
|
||||||
|
@ -35,7 +35,7 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
'sentry' => [
|
'sentry' => [
|
||||||
'class' => mito\sentry\SentryComponent::class,
|
'class' => mito\sentry\Component::class,
|
||||||
'enabled' => !empty(getenv('SENTRY_DSN')),
|
'enabled' => !empty(getenv('SENTRY_DSN')),
|
||||||
'dsn' => getenv('SENTRY_DSN'),
|
'dsn' => getenv('SENTRY_DSN'),
|
||||||
'environment' => YII_ENV_DEV ? 'development' : 'production',
|
'environment' => YII_ENV_DEV ? 'development' : 'production',
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"ely/amqp-controller": "dev-master#d7f8cdbc66c45e477c9c7d5d509bc0c1b11fd3ec",
|
"ely/amqp-controller": "dev-master#d7f8cdbc66c45e477c9c7d5d509bc0c1b11fd3ec",
|
||||||
"ely/email-renderer": "dev-master#38a148cd5081147acc31125ddc49966b149f65cf",
|
"ely/email-renderer": "dev-master#38a148cd5081147acc31125ddc49966b149f65cf",
|
||||||
"predis/predis": "^1.0",
|
"predis/predis": "^1.0",
|
||||||
"mito/yii2-sentry": "dev-1.0.0-dev#193b96880d30e9d3b616652a5abb3c4f28e14f2c"
|
"mito/yii2-sentry": "dev-1.0.0-dev#e34bcdf5475310a66a6c94899ca62c9e9aa2bf8d"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"yiisoft/yii2-codeception": "*",
|
"yiisoft/yii2-codeception": "*",
|
||||||
|
@ -14,7 +14,7 @@ return [
|
|||||||
'log' => [
|
'log' => [
|
||||||
'targets' => [
|
'targets' => [
|
||||||
[
|
[
|
||||||
'class' => mito\sentry\SentryTarget::class,
|
'class' => mito\sentry\Target::class,
|
||||||
'levels' => ['error', 'warning'],
|
'levels' => ['error', 'warning'],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user