Allows your daemon log to be displayed in a place accessible from a script web page (such as a database table) that can display it. Refresh your web page every few seconds. (You can get an idea of ββthis with XmlHttpRequest and Javascript if you want)
Edit:
The easiest way to refresh the page is with meta http-equiv="refresh" content="5"> . A little more elegant is the use of Javascript. You can use something like PeriodicalUpdater for jQuery .
These solutions are survey methods. There is a trick that you can pull out to make the event multiply instantly, called comets. But this is a little more complicated, and frankly, the survey is probably suitable for your use case.
source share