Skip to content

Instantly share code, notes, and snippets.

@antonioribeiro
Created November 4, 2014 22:20
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save antonioribeiro/56db3340ad621b9c1d61 to your computer and use it in GitHub Desktop.
Save antonioribeiro/56db3340ad621b9c1d61 to your computer and use it in GitHub Desktop.
# Tail Laravel and Webserver (NGINX & Apache 2) log files
# Compatible with Laravel 4 & 5
#
alias tl="ls -d /var/log/nginx/* /var/log/apache2/* storage/logs/* app/storage/logs/* storage/laravel.log | grep -v 'gz$' | grep -v '1$' | xargs tail -f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment