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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -