Skip to content

Instantly share code, notes, and snippets.

@cball
Last active August 29, 2015 13:57
Show Gist options
  • Save cball/9392345 to your computer and use it in GitHub Desktop.
Save cball/9392345 to your computer and use it in GitHub Desktop.
run downloaded logentries log from heroku app through oink
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