mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
change swoole log path
This commit is contained in:
+3
-2
@@ -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'),
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
@@ -218,4 +218,11 @@ return [
|
||||
|
||||
'max_execution_time' => 30,
|
||||
|
||||
'swoole' => [
|
||||
'options' => [
|
||||
'log_file' => env('LOG_FILE', '/tmp/nexus.log'),
|
||||
'package_max_length' => 10 * 1024 * 1024,
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user