Last active
May 16, 2018 10:56
-
-
Save stijnh92/eccee9009d10db5a0bc99db07ac8720d to your computer and use it in GitHub Desktop.
Laravel logging configuration to send logs to PHP error log. (>= Laravel 5.6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| 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 | |
| you a variety of powerful log handlers / formatters to utilize. | |
| | |
| Available Drivers: "single", "daily", "slack", "syslog", | |
| "errorlog", "custom", "stack" | |
| | |
*/ | |
'channels' => [ | |
'stack' => [ | |
'driver' => 'stack', | |
'channels' => ['single', 'errorlog'], | |
], | |
.... | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment