remove mail logging

This commit is contained in:
2023-07-27 20:43:16 +10:00
parent d4b3300b88
commit b621f71b54

View File

@@ -54,7 +54,7 @@ return [
'channels' => [ 'channels' => [
'stack' => [ 'stack' => [
'driver' => 'stack', 'driver' => 'stack',
'channels' => ['single', 'email'], 'channels' => ['single'],
'ignore_exceptions' => false, 'ignore_exceptions' => false,
], ],
@@ -126,17 +126,6 @@ return [
'emergency' => [ 'emergency' => [
'path' => storage_path('logs/laravel.log'), '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,
],
], ],
]; ];