Search your application's logs & set alerts for specific searches using the Papertrail service from Heroku addons.
Warning Papertrail is a 3rd party addon and therefore requires your Heroku account to be validated before you can add it to your application. To verify your Heorku account, visit https://heroku.com/verify
To add the Papertrail Add-on:
Addfor the free "Choklad" level of service
Add-onsdrop-down for your application
After a minute or so Papertrail will have your latest logs.
Enter a search term like
WARN in the search box at the bottom of the screen. You will then see all of the log entries for your application which match that term.
You can setup Papertrail to notify you via email when new log entries matching your search are received:
Save & Setup Alert
Recipientsfield enter your email address
The next time your application has a log event that matches your search, you will receive an email notification.