change swoole log path

This commit is contained in:
xiaomlove
2022-04-06 22:48:05 +08:00
parent 6ac7194d43
commit f2b9268a1f
3 changed files with 11 additions and 3 deletions

View File

@@ -43,7 +43,8 @@ return [
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'tap' => [\App\Logging\NexusFormatter::class],
'path' => env('LOG_FILE', '/tmp/nexus.log'),
'level' => env('LOG_LEVEL', 'debug'),
],
@@ -99,7 +100,7 @@ return [
],
'emergency' => [
'path' => storage_path('logs/laravel.log'),
'path' => env('LOG_FILE', '/tmp/nexus.log'),
],
],