Btw, you might be interested in the WebSocket interface of NaviServer
https://bitbucket.org/naviserver/websocket
which lets you watch e.g. the error.log in a browser window (like "tail -f"); you can switch from the error.log view the logging options...
-g