From b4c56ea617c4d7feac802770f7c23509da34bf4b Mon Sep 17 00:00:00 2001 From: denisdulici Date: Wed, 20 May 2020 02:20:48 +0300 Subject: [PATCH] log the command --- app/Utilities/Console.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Utilities/Console.php b/app/Utilities/Console.php index b35eb4bf3..85dff06ba 100644 --- a/app/Utilities/Console.php +++ b/app/Utilities/Console.php @@ -11,6 +11,8 @@ class Console { $command = static::formatCommandString($string); + logger('Console command:: ' . $command); + $process = Process::fromShellCommandline($command, base_path()); $process->setTimeout($timeout); @@ -22,7 +24,7 @@ class Console $output = $all_output ? $process->getOutput() : $process->getErrorOutput(); - logger($output); + logger('Console output:: ' . $output); return $output; }