Where are logs located?
I'm debugging a JSON endpoint and need to view internal server errors. However, my app/storage/logs dir is empty and it seems there are no other directories dedicated to logs in the project. I've tried googling the subject to no avail. How can I enable logging, if it's not already enabled and view the logs? Ensure debug mode is on - either add APP_DEBUG=true to .env file or set an environment variable Log files are in storage/logs folder. laravel.log is the default filename. If there is a permission issue with the log folder, Laravel just halts. So if your endpoint generally works -