From 203556aa8e5a2a4560f99e964eafd5b6700977ef Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 29 Nov 2017 18:12:00 +0100 Subject: [PATCH] =?UTF-8?q?Do=20not=20overrule=20logging=20when=20it?= =?UTF-8?q?=E2=80=99s=20not=20set=20to=20daily.=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 5f1bc85f3f..e6099f49e7 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -51,7 +51,7 @@ $app->singleton( ); /* Overrule logging */ -if ($app->make('config')->get('app.log') === 'daily') { +if (env('APP_LOG', 'errorlog') === 'daily') { $app->configureMonologUsing( function (Logger $monolog) use ($app) {