heroku view log code example
Example 1: heroku logs
# Display all logs live
heroku logs -t -a YOUR_APP_NAME
# Only display stdout of your app
heroku logs -t -s app -a YOUR_APP_NAME
Example 2: heroku logs
heroku logs --tail
# Display all logs live
heroku logs -t -a YOUR_APP_NAME
# Only display stdout of your app
heroku logs -t -s app -a YOUR_APP_NAME
heroku logs --tail