Reputation: 968
I can do Heroku logs -tail --app myapp and see what goes on when things happen in the app.
Would there be a way to show the output of logs -tail in the browser in real time just like I can do with the Heroku client?
I know it is a strange question, anyone has an idea?
Cheers.
Upvotes: 4
Views: 2678
Reputation: 317
heroku logs --tail is all you need to enter. I got this from the Heroku documentation.
Upvotes: 0
Reputation: 1767
you can use heroku client library for login and then heroku logs -t as system command to display the output on browser.
@heroku = Heroku::Client.new(account.email, account.password)
`heroku logs -t `
Hope this will help you.
Upvotes: 0
Reputation: 37507
You need to use something like Papertrail and then a syslog drain to send your heroku logs to them.
Upvotes: 2