Skip to content

Instantly share code, notes, and snippets.

@etiennemarais
Forked from jakebathman/logslaravel.sh
Last active September 17, 2018 11:24
Show Gist options
  • Save etiennemarais/f56efc9e6d95773595b4db96a729f602 to your computer and use it in GitHub Desktop.
Save etiennemarais/f56efc9e6d95773595b4db96a729f602 to your computer and use it in GitHub Desktop.
Tail Laravel logs and filter out the stack traces
tail -f -n 450 laravel*.log \
| grep -i -E \
"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
--color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment