From 670de560ed0fd7e1657f74b4903cf0dee61087c9 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Sat, 18 May 2024 23:42:50 +0800 Subject: [PATCH] Laravel Vapor - Debug Endpoint request timed out --- config/logging.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/config/logging.php b/config/logging.php index 1e392b7c..3e34a467 100644 --- a/config/logging.php +++ b/config/logging.php @@ -54,10 +54,20 @@ return [ 'days' => 14, ], + // 'storage_invoices' => [ + // 'driver' => 'single', + // 'path' => storage_path('logs/laravel_storage_invoices.log'), + // 'level' => 'info', + // ], + 'storage_invoices' => [ - 'driver' => 'single', - 'path' => storage_path('logs/laravel_storage_invoices.log'), - 'level' => 'info', + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], ], 'slack' => [