mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Fix logging in Sandstorm.
This commit is contained in:
@@ -50,7 +50,8 @@ $app->singleton(
|
|||||||
FireflyIII\Exceptions\Handler::class
|
FireflyIII\Exceptions\Handler::class
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Overrule logging */
|
/* Overrule logging if not Sandstorm */
|
||||||
|
if (!(env('IS_SANDSTORM') === true)) {
|
||||||
$app->configureMonologUsing(
|
$app->configureMonologUsing(
|
||||||
function (Logger $monolog) use ($app) {
|
function (Logger $monolog) use ($app) {
|
||||||
|
|
||||||
@@ -79,6 +80,7 @@ $app->configureMonologUsing(
|
|||||||
$monolog->pushHandler($handler);
|
$monolog->pushHandler($handler);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user