How to monitor a log with jquery or a dynamic library? [closed]

0

Hi, I want to monitor the information stored in a log about the events in my system. Create the .log file using phalcon I can already, but in what way I visualize it in a dynamic way that is updated without the need to update the page if not when a new data is entered

    
asked by JHOSEP LUIS LOOR ANDRADE 03.10.2016 в 19:39
source

1 answer

1

Hi, I would recommend that you use AJAX and PHP, I explain: Generate an iteration every X seconds using javascript, this iteration must call via AJAX a PHP file that is in charge of verifying if the log has changed. In the event that it has changed, it will return the new values. And update only the part of the HTML you need.

    
answered by 25.10.2016 в 17:25