WebTail uses Ajax to simulate the Unix 'tail -f' command through a web interface. It was created so that developers can monitor error log files on remote servers for which they don't have shell access.
Download:
WebTail (45.3 KB) (299 downloads)
How to use:
- Copy the WebTail folder onto the server where your error log resides.
- Open a browser to http://yourserver/path/to/WebTail/
- Enter the URI to your log in the 'Path to log' box
- Set your Frequency & Decay variables.
- Click 'Restart log'.
Notes:
- If you want WebTail to always open a specific log, just open the WebTail/index.php file and change the $DEFAULT_LOG variable to be the URI of your log.
- The 'Start/Stop tailing' button does exactly that. It starts or stops the page from monitoring the given log.
- The 'Restart log' button reloads the WebTail page with using the parameters from the form at the top of the page.
- Frequency is the interval in seconds at which WebTail refreshes. The default is 5 meaning that WebTail check the given log for updates every 5 seconds.
- Decay is the factor by which the frequency is multiplied when WebTail refreshes the log and nothing has changed. The default is 1 (which turns off the decay effect).
For more information on frequency & decay, check out the Ajax.PeriodicalUpdater method, as that is what is used to update the WebTail page.