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
Post a Comment