Laravel 5.6 Upgrade caused Logging to break
Add this file to your config folderhttps://github.com/laravel/laravel/blob/develop/config/logging.php
and add this to your .env file LOG_CHANNEL=stack
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 :)
I got the same problem and tried to do everything as you did but not work.
Finally, I've found that it was because of cached config, just clear it and everything will be fine:
php artisan config:clear