tail -f
in the browserMonitor log files from your web browser. Try the live demo!
Disclaimer: This program falls strictly under the category of "things I wrote for myself, and then stuck on the web in case they happen to be useful to someone else!" Proceed with caution.
sudo
required)passthru()
function enabled. Or you could write a replacement for tail.sh
in pure PHP if you really wanted.tail.sh
to point to the log file you want to monitortail.php
and remove the sudo
tail.sh
to someplace outside the public HTTP structure and updating tail.php
with the new locationsudo chown root:root tail.sh
sudo chmod 700 tail.sh
visudo
:ALL ALL = (root) NOPASSWD: /path/to/tail.sh
log.js
to add color rules or change the log formatting.