0

Typically if you use your localhost, you can just run

rails s

from terminal and then when you hit your webserver, you can see the output.

However, when I run

heroku run rails s

and then I hit my webserver up on heroku, I don't get any output like I do when I "rails s" with localhost.

Is there anyway to achieve this?

chris P
  • 6,359
  • 11
  • 40
  • 84

2 Answers2

2

If you want to see the live server logs, use this command

heroku logs -t

There are many more options available, look at this answer heroku - how to see all the logs

Community
  • 1
  • 1
Rajdeep Singh
  • 17,621
  • 6
  • 53
  • 78
1

You can use heroku logs command in terminal to see the log just like you see using rails s command.

Kushal
  • 218
  • 2
  • 12