Skip to content

Instantly share code, notes, and snippets.

@santoshachari
Created May 21, 2016 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save santoshachari/377c2ac101a9fc038dac6d802f359c5f to your computer and use it in GitHub Desktop.
Save santoshachari/377c2ac101a9fc038dac6d802f359c5f to your computer and use it in GitHub Desktop.
Debugging Laravel applications on LEMP

Logging is done in two places:

  1. storage/logs/laravel.log
  2. /var/log/nginx/error.log

Clear logs with:

> laravel.log
sudo bash -c '>error.log' #for nginx

Clear cache with

php artisan cache:clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment