We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553ea01 commit 2ac7452Copy full SHA for 2ac7452
src/Commands/StartSwooleCommand.php
@@ -119,7 +119,7 @@ protected function defaultServerOptions(SwooleExtension $extension)
119
'enable_coroutine' => false,
120
'daemonize' => false,
121
'log_file' => storage_path('logs/swoole_http.log'),
122
- 'log_level' => app()->environment('local') ? 1 : 5,
+ 'log_level' => app()->environment('local') ? SWOOLE_LOG_INFO : SWOOLE_LOG_ERROR,
123
'max_request' => $this->option('max-requests'),
124
'package_max_length' => 20 * 1024 * 1024,
125
'reactor_num' => $this->workerCount($extension),
0 commit comments