Display logs of a server in ruby on rails -


i making web portal. need show logs of server on portal. logs stored in .txt file. file keeps on updating new logs , need show in real time.i using ruby on rails. please help.

a smoother option updating page use rails 4 live streaming functionality, keep connection open , send data comes in. details nicely outlined here: http://www.sitepoint.com/streaming-with-rails-4/

you want text box on page connect via ajax after page load, , write output live streaming controller action html arrives.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -