ruby on rails - How do I view the last X hours in my production.log in console -
I am on a very poor Internet connection and have to check the only today section> File in the production.log console.
How can I do this?
As specified in the comment,
Can you pull the line? You can use it,
tail -n 50 production.log get the previous 50 line To >
(or) If you want, then production.log From tail -f production.log
will monitor the production.log file for the embedded data.
Comments
Post a Comment