Skip to content

Instantly share code, notes, and snippets.

@jakebathman
Created August 19, 2018 00:06
Show Gist options
  • Select an option

  • Save jakebathman/a1122071428c78942c6bed4cade18dd6 to your computer and use it in GitHub Desktop.

Select an option

Save jakebathman/a1122071428c78942c6bed4cade18dd6 to your computer and use it in GitHub Desktop.

Revisions

  1. jakebathman created this gist Aug 19, 2018.
    4 changes: 4 additions & 0 deletions logslaravel.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    tail -f -n 450 storage/logs/laravel*.log \
    | grep -i -E \
    "^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
    --color