In the docs of Laravel 5.6 its stated here that one can config his logging channels in config/logging.php
. I have updated from Larvel 5.5 to Laravel 5.6 but I could not find this config file.
Do I need to call a special artisan command for this or something like that?
By default, Laravel is configured to create a single log file for your application, and this file is stored in app/storage/logs/laravel. log .
Through your config/app. php , set 'debug' => env('APP_DEBUG', false), to true . Or in a better way, check out your . env file and make sure to set the debug element to true.
The Laravel logging facilities provide a simple layer on top of the powerful Monolog library. By default, Laravel is configured to create daily log files for your application which are stored in the storage/logs directory. You may write information to the log like so: Log::info('This is some useful information. ');
This file didn't exist in 5.5.
You can find the original one here and copy-paste it into your project.
There is a complete upgrade guide here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With