X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c429cf78187e80deb63982a282a1c6889f30291a..refs/pull/4467/head:/app/Config/logging.php diff --git a/app/Config/logging.php b/app/Config/logging.php index 220aa0607..d49cd727d 100644 --- a/app/Config/logging.php +++ b/app/Config/logging.php @@ -21,6 +21,15 @@ return [ // one of the channels defined in the "channels" configuration array. 'default' => env('LOG_CHANNEL', 'single'), + // Deprecations Log Channel + // This option controls the log channel that should be used to log warnings + // regarding deprecated PHP and library features. This allows you to get + // your application ready for upcoming major versions of dependencies. + 'deprecations' => [ + 'channel' => 'null', + 'trace' => false, + ], + // Log Channels // Here you may configure the log channels for your application. Out of // the box, Laravel uses the Monolog PHP logging library. This gives @@ -49,16 +58,9 @@ return [ 'days' => 7, ], - 'slack' => [ - 'driver' => 'slack', - 'url' => env('LOG_SLACK_WEBHOOK_URL'), - 'username' => 'Laravel Log', - 'emoji' => ':boom:', - 'level' => 'critical', - ], - 'stderr' => [ 'driver' => 'monolog', + 'level' => 'debug', 'handler' => StreamHandler::class, 'with' => [ 'stream' => 'php://stderr', @@ -99,6 +101,10 @@ return [ 'testing' => [ 'driver' => 'testing', ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], ], // Failed Login Message