Added channel deprecations.

This commit is contained in:
Leonid Nikitin 2023-03-10 21:04:26 +06:00
parent 3ddfb77508
commit e189137f6a
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D
2 changed files with 8 additions and 2 deletions

View File

@ -4,8 +4,8 @@ APP_KEY=
APP_DEBUG=true APP_DEBUG=true
APP_URL=http://localhost APP_URL=http://localhost
LOG_CHANNEL=stack LOG_CHANNEL=daily
LOG_DEPRECATIONS_CHANNEL=null LOG_DEPRECATIONS_CHANNEL=deprecations
LOG_LEVEL=debug LOG_LEVEL=debug
DB_CONNECTION=mysql DB_CONNECTION=mysql

View File

@ -70,6 +70,12 @@ return [
'days' => 14, 'days' => 14,
], ],
'deprecations' => [
'driver' => 'daily',
'path' => storage_path('logs/deprecations.log'),
'level' => env('LOG_LEVEL', 'debug'),
],
'slack' => [ 'slack' => [
'driver' => 'slack', 'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'), 'url' => env('LOG_SLACK_WEBHOOK_URL'),