
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
heroku-papertrail
Advanced tools
Extends heroku command-line app to display, tail, and search Heroku app and
platform logs on Papertrail.
$ heroku plugins:install heroku-papertrail
The plugin includes all required dependencies.
$ heroku pt [-t] [query]
-t # continually stream logs (tail)
query # Boolean search filter
$ heroku addons:open papertrail
Add Papertrail's Heroku log management add-on to your
app(s), then run heroku pt. Examples:
$ heroku pt
Tail:
$ heroku pt -t
Specify a Heroku app name, tail, and show only logs containing router:
$ heroku pt --app wopr -t router
Create shortcuts to invoke CLI or open Web interface:
$ alias logs="heroku pt --app wopr -t"
$ logs JoshuaController
$ alias pt="heroku addons:open --app wopr papertrail"
$ pt
To search for quoted phrases, enclose entire query in double quotes (consistent with other shell tools):
$ heroku pt "'Sent mail to' cron"
$ heroku pt -t "'status=50' OR 'Completed in'"
Use parenthesis and exclusion (-):
$ heroku pt --app wopr -t "'State changed' OR (router ('status=50' OR 'Error H'))"
$ heroku pt "router -'queue=0'"
More: Search syntax
FAQs
Search and/or tail logs
We found that heroku-papertrail demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.