Skip to content

Instantly share code, notes, and snippets.

@iamwilhelm
Created February 19, 2009 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamwilhelm/67090 to your computer and use it in GitHub Desktop.
Save iamwilhelm/67090 to your computer and use it in GitHub Desktop.
When you want to tail a rails log, but without the extraneous stuff, you can simply do:
tail -f log/production.log | grep "[/#]"
It will show the first and last lines of each request, plus any error stack trace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment