Cleanup exception reporting, stop logging PDO exception stacks.

PDOException stacks include the MySQL password for the connection attempt and many people do not realize this when providing logs.
This commit is contained in:
Dane Everitt 2018-02-04 13:31:39 -06:00
parent ff8b5fc5a3
commit f42bc8a031
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 45 additions and 3 deletions

View file

@ -133,6 +133,22 @@ return [
'log_level' => env('APP_LOG_LEVEL', 'info'),
/*
|--------------------------------------------------------------------------
| Exception Reporter Configuration
|--------------------------------------------------------------------------
|
| If you're encountering weird behavior with the Panel and no exceptions
| are being logged try changing the environment variable below to be true.
| This will override the default "don't report" behavior of the Panel and log
| all exceptions. This will be quite noisy.
|
*/
'exceptions' => [
'report_all' => env('APP_REPORT_ALL_EXCEPTIONS', false),
],
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers