diff --git a/bootstrap/app.php b/bootstrap/app.php index 5ecd672..8298ef1 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,5 +1,6 @@ withExceptions(function (Exceptions $exceptions) { - $exceptions->report(function (ServerException|ClientException $e) { + $exceptions->report(function (ServerException|ClientException|RequestException $e) { Log::warning('HTTP Request Exception', [ 'url' => (string) $e->getRequest()->getUri(), 'status' => $e->getResponse()->getStatusCode(), diff --git a/config/logging.php b/config/logging.php index fea7533..40d9e25 100644 --- a/config/logging.php +++ b/config/logging.php @@ -69,7 +69,7 @@ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => env('LOG_LEVEL', 'debug'), - 'days' => env('LOG_DAILY_DAYS', 14), + 'days' => env('LOG_DAILY_DAYS', 3), 'replace_placeholders' => true, ],