I'm currently experiencing routing issues, where various pages of my application are returning white pages.
Where are the PHP logs located within Homestead Vagrant so I can diagnose what's the issue?
I've checked /var/log/
and I can only see a php7.0-fpm.log
that relates to PHP, but nothing is generated within here when I read it.
I just had this problem too.
Finally I figured out that it was because my custom Laravel code (that I'd downloaded from my Bitbucket repo onto a new computer) included custom code in bootstrap/app.php
at the $app->configureMonologUsing
line, and I hadn't properly set up a new .env
file.
I guess it can be dangerous / fragile to mess with the default logger.
But now that I fixed my .env
, the logs correctly appear in /storage/logs/laravel.log
.