Hi,
I have a set of log files generated on one server (by Python and Supervisor), that I would like to view on another server's web application, where the time delay should be as little as possible, like 15 seconds. The log file is just a text file that is continuously written to.
I'm trying to think of how I can get Laravel to serve the text in these log files. I first have to figure out how to redirect the logs from supervisor/python to make a network request. Then, I have to figure out how to display this in Laravel.
I'm worried that the delay will be too large with ordinary REST HTTP due to the middleware and apache layers.
The goal of this log is display realtime debugging information, so as little delay as possible is good. So I am thinking maybe trying Websockets or something.
Something like sentry but free. Is there an open source library for this? Thanks!
0 comments:
Post a Comment
Thanks