From e6c3d7fe57936df1dc03621c77eb08ccc7369ab0 Mon Sep 17 00:00:00 2001 From: Renee Margaret McConahy Date: Wed, 21 Apr 2021 14:40:23 -0400 Subject: [PATCH] Restore LOG_CHANNEL environment variable. (#9464) This allows selecting the Monolog channel with the LOG_CHANNEL variable. --- config/logging.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/logging.php b/config/logging.php index 658f5cdab..1f6538e1b 100644 --- a/config/logging.php +++ b/config/logging.php @@ -14,8 +14,7 @@ $config = [ | one of the channels defined in the "channels" configuration array. | */ - - 'default' => 'stack', + 'default' => env('LOG_CHANNEL', 'stack'), /* |--------------------------------------------------------------------------