Created
July 13, 2011 21:17
-
-
Save blasterpal/1081359 to your computer and use it in GitHub Desktop.
Remove Exception Block from standard Rails logs
This file contains hidden or 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
| #example to remove PageNotFoundError from logs for cleaning up | |
| sed '/ApplicationController::PageNotFoundError (ApplicationController::PageNotFoundError):/,/^\W*$/d' production.log.cleaned.app01 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment