Get a remote laravel log file
Published on by Eric L. Barnes
In this tutorial James Mills shows us how to create a Laravel task to SSH into our server and download a copy of the production laravel.log file.
Now you can run a simple Artisan command from your local machine or from within your Homestead VM and it will connect to production, pull down the log file and store it in ‘app/storage.logs/production.log’.
Eric is the creator of Laravel News and has been covering Laravel since 2012.