Skip to content

A free open source IT asset/license management system

Fixed #9198 - added stdout as a log driver

snipedb3f80bb9b20
diff --git a/config/logging.php b/config/logging.php
index 86641787c0..b57af6ade6 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -67,6 +67,12 @@ return [
],
],
+ 'stdout' => [
+ 'driver' => 'monolog',
+ 'handler' => StreamHandler::class,
+ 'with' => [ 'stream' => 'php://stdout', ],
+ ],
+
'syslog' => [
'driver' => 'syslog',
'level' => env('APP_LOG_LEVEL', 'error'),