Laravel 5.6 Upgrade caused Logging to break
I was facing the same issue due to upgrade of my laravel version from 5.3 to 5.7. But after search of few mints i found the solution. You just need to follow the following steps.
- create logging.php file inside the config folder.
- Copy code from this Official Link of Laravel.
- Past this code into your logging.php file.
- run this command -- php artisan config:clear
All done. Happy Coding :)
Add this file to your config folder https://github.com/laravel/laravel/blob/5.6/config/logging.php
and add this to your .env file LOG_CHANNEL=stack
Don't forget to run php artisan config:clear
command afterwards.