Is it possible to see the last log of Heroku server. I have used heroku logs
to see the last process but it shows limited log. But i want to see more process done at heroku. So what command or what process should I follow to see the logs at Heroku.
Thanks in advance.
I don't think it's possible because on Heroku's own support page they recommend using external monitoring applications. They have likely limited it to 100 lines to prevent people from using it as their only debugging tool.
http://docs.heroku.com/logs-exceptions
Accessing your logs is intended primarily for use in debugging a newly uploaded application that is producing unexpected results, such as an exception or a 500 / FAILSAFE error. The logs displayed will be a jumble of results from the different servers your app happens to be running on, and will show only the most recent 100 lines.
If you have a site in production use by real users, use an external exception logging service. We can recommend Hoptoad and Get Exceptional. Both of these services are very simple to set up on Heroku, and provide an easy and structured way to look at all your production exceptions.
You should not attempt to use the output of the heroku logs command for metrics or usage analysis. For that, we recommend Google Analytics.
Alternative exception monitoring applications:
There are also a few projects on Github that allow you to build an exception logging system into your application:
Here are a couple of Railscasts tutorials by Ryan Bates on the topic:
I have just checked and the first suggestion, Exceptional, is actually available as an official Heroku add-on.
as is Hoptoadapp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With