heroku app log to file code example
Example 1: heroku logs
heroku logs --tail
Example 2: 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
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