Heroku is awesome but debugging applications on Heroku can be tedious. While technically all you need is $ Heroku logs --tail --app *and-your-app-name*
that might not always paint the whole picture.
There are limitations like the 1500 loglines size or the 1MB buffer allowed for the response that you need to consider. For the average Joe, this is plenty and most of us don't even worry about them.
But every now and then you run into one of those limitations or maybe you don't run in a limitation per se but you do have to sift through countless lines of logs to find that one little message.
This is where most developers will look for outside help. There are plenty of tools that will manage your logs without breaking the bank or if money is no issue, well, there are services for that scenario too.
The most popular ones would be:
- Sematext.com
- Datadoghq.com
- Logdna.com
- logz.io
Here's how a service like that would look like.
heroku logs --tail
does not show the full error traces. It didn't show them after I changed the production environment to "development" and changed theLOG_LEVEL
variable. – Sunrise