Skip to content

Instantly share code, notes, and snippets.

@santoshachari
Created May 21, 2016 22:27
Show Gist options
  • Select an option

  • Save santoshachari/377c2ac101a9fc038dac6d802f359c5f to your computer and use it in GitHub Desktop.

Select an option

Save santoshachari/377c2ac101a9fc038dac6d802f359c5f to your computer and use it in GitHub Desktop.

Revisions

  1. santoshachari revised this gist May 21, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Laravel on LEMP Debug.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    Logging is done in two places:

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

  2. santoshachari created this gist May 21, 2016.
    14 changes: 14 additions & 0 deletions Laravel on LEMP Debug.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    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
    ```