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