Last active
August 29, 2015 13:57
-
-
Save cball/9392345 to your computer and use it in GitHub Desktop.
run downloaded logentries log from heroku app through oink
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
gunzip productionlog.gz | |
# if 63 changes in the future, you want to cut from the first char in date -> rails | |
cat productionlog.log | cut -c 63- | grep 'rails\[' > log/production-oink.log | |
oink --threshold=0 log/production-oink.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment