I also had this problem.
Finally, I realized that this is because my Laravel custom code (which I downloaded from my Bitbucket repository on a new computer) included native code in bootstrap/app.php
in the line $app->configureMonologUsing
, and 'configure the new one correctly .env
file.
I think it can be dangerous / fragile to mess with the default registrar.
But now that I have fixed my .env
, the logs displayed correctly in /storage/logs/laravel.log
.
source share