chore(config-log): use generic application.log

This commit is contained in:
QWp6t
2021-02-28 21:52:43 -08:00
committed by GitHub
parent 749d9d4798
commit f19b1dd360

View File

@@ -40,19 +40,19 @@ return [
'channels' => [ 'channels' => [
'stack' => [ 'stack' => [
'driver' => 'stack', 'driver' => 'stack',
'channels' => ['single'], 'channels' => ['daily'],
'ignore_exceptions' => false, 'ignore_exceptions' => false,
], ],
'single' => [ 'single' => [
'driver' => 'single', 'driver' => 'single',
'path' => storage_path('logs/acorn.log'), 'path' => storage_path('logs/application.log'),
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
], ],
'daily' => [ 'daily' => [
'driver' => 'daily', 'driver' => 'daily',
'path' => storage_path('logs/acorn.log'), 'path' => storage_path('logs/application.log'),
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
'days' => 14, 'days' => 14,
], ],
@@ -60,7 +60,7 @@ return [
'slack' => [ 'slack' => [
'driver' => 'slack', 'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'), 'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Acorn Log', 'username' => 'Application Log',
'emoji' => ':boom:', 'emoji' => ':boom:',
'level' => env('LOG_LEVEL', 'critical'), 'level' => env('LOG_LEVEL', 'critical'),
], ],
@@ -100,7 +100,7 @@ return [
], ],
'emergency' => [ 'emergency' => [
'path' => storage_path('logs/acorn.log'), 'path' => storage_path('logs/application.log'),
], ],
], ],