Skip to content

Instantly share code, notes, and snippets.

@alanho
Created May 28, 2015 07:53

Revisions

  1. alanho created this gist May 28, 2015.
    3 changes: 3 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    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