Show heroku app logs in browser in real time

I can do Heroku -tail --app myapp logs and see what happens when something happens in the application.

Would there be a way to show the output of the -tail logs in the browser in real time, how can I do with the Heroku client?

I know this is a weird question, who has an idea?

Greetings.

+3


source to share


3 answers


You need to use something like Papertrail and then syslog drain to send heroku logs to you.



+1


source


you can use hero client library to login and then heroku -t logs as system command to output output to browser.

@heroku = Heroku::Client.new(account.email, account.password)
`heroku logs -t `

      



Hope this helps you.

+1


source


heroku logs --tail is all you need to enter. I got this from Heroku documentation.

0


source







All Articles