From b621f71b542f36b24b9e49e492d8ec33bd1ba2a9 Mon Sep 17 00:00:00 2001 From: James Collins Date: Thu, 27 Jul 2023 20:43:16 +1000 Subject: [PATCH] remove mail logging --- config/logging.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/config/logging.php b/config/logging.php index 5f8dcc0..d000835 100644 --- a/config/logging.php +++ b/config/logging.php @@ -54,7 +54,7 @@ return [ 'channels' => [ 'stack' => [ 'driver' => 'stack', - 'channels' => ['single', 'email'], + 'channels' => ['single'], 'ignore_exceptions' => false, ], @@ -126,17 +126,6 @@ return [ 'emergency' => [ 'path' => storage_path('logs/laravel.log'), ], - - 'email' => [ - 'driver' => 'monolog', - 'handler' => Monolog\Handler\NativeMailerHandler::class, - 'with' => [ - 'to' => 'webmaster@stemmechanics.com.au', - 'subject' => 'Laravel Error', - ], - 'level' => 'info', // Set the log level you want to be emailed (e.g., 'error', 'warning', 'info', etc.). - 'replace_placeholders' => true, - ], ], ];