remove mail logging
This commit is contained in:
@@ -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,
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user