mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-16 05:50:55 +08:00
change swoole log path
This commit is contained in:
@@ -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,
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.0');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-04-05');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-04-06');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', true);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
Reference in New Issue
Block a user