How to see logs when deploying to Heroku from Github?

You have probably enabled GitHub integration on your Heroku app. You still have a Heroku app right - that's what you enabled the GitHub integration on. If your app's name is foo-bar-123 then heroku logs -a foo-bar-123 should do it.


Another method of viewing logs that might be more convenient is:

  1. Go to Heroku app page (e.g. dashboard.heroku.com/apps/myAppName)

  2. Click on "more" at the top right of the page

  3. Click on "view logs" at the top of this menu

This enables you to view the app's logs on the Heroku online GUI, without needing to install the Heroku CLI.

diagram of steps to view logs online

Tags:

Heroku

Github