November 2015
Beginner to intermediate
840 pages
26h 30m
English
Heroku, by default, will store logs about our service, as shown in Example 29.47.
Example 29.47: Shell Code
$ heroku logs --tail
The feature comes with basic filtering, allowing us to see output from Heroku itself or just our app, as shown in Example 29.48.
Example 29.48: Shell Code
$ heroku logs --tail --source heroku $ heroku logs --tail --source app
Heroku’s log feature is limited to 1,500 messages, and according to Heroku’s documentation, it is built more for routing messages and less for storage. We therefore add a service for storing our logs long term. There are three companies on Heroku’s platform: FlyData, Papertrail, and Logentries. I opt to use Papertrail, but the competing ...
Read now
Unlock full access