From 0a3523e6b785a102f7c2923652e1adca9b88845e Mon Sep 17 00:00:00 2001 From: glushkovds <35626465+glushkovds@users.noreply.github.com> Date: Fri, 26 May 2023 20:02:52 +0500 Subject: [PATCH] --log-level option in octane:start command (#701) --- src/Commands/StartCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Commands/StartCommand.php b/src/Commands/StartCommand.php index 3d1a7bf38..87b1e2634 100644 --- a/src/Commands/StartCommand.php +++ b/src/Commands/StartCommand.php @@ -24,7 +24,8 @@ class StartCommand extends Command implements SignalableCommandInterface {--max-requests=500 : The number of requests to process before reloading the server} {--rr-config= : The path to the RoadRunner .rr.yaml file} {--watch : Automatically reload the server when the application is modified} - {--poll : Use file system polling while watching in order to watch files over a network}'; + {--poll : Use file system polling while watching in order to watch files over a network} + {--log-level= : Log messages at or above the specified log level}'; /** * The command's description. @@ -84,6 +85,7 @@ protected function startRoadRunnerServer() '--rr-config' => $this->option('rr-config'), '--watch' => $this->option('watch'), '--poll' => $this->option('poll'), + '--log-level' => $this->option('log-level'), ]); }