Skip to content

Instantly share code, notes, and snippets.

@thedom85
Created July 19, 2022 06:41
Show Gist options
  • Save thedom85/5e3adcb945db4505ff57a564ed878cad to your computer and use it in GitHub Desktop.
Save thedom85/5e3adcb945db4505ff57a564ed878cad to your computer and use it in GitHub Desktop.

Laravel log

View Log Laravel Lumen

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


tail -f -n 450 storage/logs/lumen*.log \
  | grep -i -E \
    "^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
    --color

 tail -f -n 450 storage/logs/lumen*.log   \
  | grep -i -E \
  	"update"
    
 tail -f -n 450 storage/logs/lumen*.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