Created
February 19, 2009 20:09
-
-
Save iamwilhelm/67090 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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