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