Skip to content

Commit

Permalink
Add command line
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Lehmann committed Feb 10, 2024
1 parent fe9420d commit 8bdd2bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Writer/JsonWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public function writeLog(LogRecord $record)
if ($requestId) {
$data['request_id'] = $requestId;
}
} else {
global $argv;
$data['command_line'] = implode(' ', $argv);
}

if ($this->options !== []) {
Expand Down

0 comments on commit 8bdd2bf

Please sign in to comment.