Hi Developers,
Now a days every one is choosing heroku for deploying rails application, as it provides free of cost and its in cloud environment.
As a devloper we are required to view the log file for debugging the things. when a application was deployed to heroku it will be run in the production environment. To view the log information you are going to use 'heroku logs' from the local application directory.
But recently I came to know that we can view log with live stream as same a local application with the below command.
> heroku logs --tail
This will display the log file with live stream with every request that was hit by the server.
Thank You,
Uma Mahesh.
No comments:
Post a Comment