Skip to content

Instantly share code, notes, and snippets.

@alanho
Created May 28, 2015 07:53
Show Gist options
  • Save alanho/773f73fa19f1dc850338 to your computer and use it in GitHub Desktop.
Save alanho/773f73fa19f1dc850338 to your computer and use it in GitHub Desktop.
using oink with heroku
heroku logs --tail > log/production.log
cat log/production.log | cut -c 46- | grep 'Oink\|Memory\|Instantiation' > 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