3 use Monolog\Handler\NullHandler;
4 use Monolog\Handler\StreamHandler;
7 * Logging configuration options.
9 * Changes to these config files are not supported by BookStack and may break upon updates.
10 * Configuration should be altered via the `.env` file or environment variables.
11 * Do not edit this file unless you're happy to maintain any changes yourself.
16 // Default Log Channel
17 // This option defines the default log channel that gets used when writing
18 // messages to the logs. The name specified in this option should match
19 // one of the channels defined in the "channels" configuration array.
20 'default' => env('LOG_CHANNEL', 'single'),
23 // Here you may configure the log channels for your application. Out of
24 // the box, Laravel uses the Monolog PHP logging library. This gives
25 // you a variety of powerful log handlers / formatters to utilize.
26 // Available Drivers: "single", "daily", "slack", "syslog",
27 // "errorlog", "monolog",
32 'channels' => ['daily'],
33 'ignore_exceptions' => false,
38 'path' => storage_path('logs/laravel.log'),
45 'path' => storage_path('logs/laravel.log'),
52 'url' => env('LOG_SLACK_WEBHOOK_URL'),
53 'username' => 'Laravel Log',
55 'level' => 'critical',
59 'driver' => 'monolog',
60 'handler' => StreamHandler::class,
62 'stream' => 'php://stderr',
72 'driver' => 'errorlog',
77 'driver' => 'monolog',
78 'handler' => NullHandler::class,