I am having some troubles with Laravel 5.8 and sending the Mail into the logs for testing purposes.
Regular log level INFO gets written to the daily log without any trouble.
What am I missing in my current config?
.ENV file has :
MAIL_DRIVER=log
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
LOG_CHANNEL=stack
Mail.php
'driver' => env('MAIL_DRIVER', 'smtp'), 'log_channel' => env('MAIL_LOG_CHANNEL'),
Logging.php
'default' => env('LOG_CHANNEL', 'stack'),
'stack' => [
'driver' => 'stack',
'channels' => ['daily'],
],
artisan config:cache?