Do not overrule logging when it’s not set to daily. [skip ci]

This commit is contained in:
James Cole 2017-11-29 18:12:00 +01:00
parent 16b0264a79
commit 203556aa8e
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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) {