Skip to content

Instantly share code, notes, and snippets.

@stijnh92
Last active May 16, 2018 10:55
Show Gist options
  • Save stijnh92/3633207f0daffd54b8e983aa2e0a0a73 to your computer and use it in GitHub Desktop.
Save stijnh92/3633207f0daffd54b8e983aa2e0a0a73 to your computer and use it in GitHub Desktop.
Laravel logging configuration to send logs to PHP error log. (<= Laravel 5.5)
/*
|--------------------------------------------------------------------------
| Logging Configuration
|--------------------------------------------------------------------------
|
| Here you may configure the log settings 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 Settings: "single", "daily", "syslog", "errorlog"
|
*/
'log' => env('APP_LOG', 'errorlog'),
'log_level' => env('APP_LOG_LEVEL', 'debug'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment