File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ # javascript logtailer
2
+
3
+ Ludicrously simple remote unix 'tail' like log viewer.
4
+
5
+ This uses an ajax request, and the HTTP Range: header to request only the last
6
+ ~ 30KB of a log file. It then polls for data appended to that file, and only
7
+ ever retrieves new data (no refreshing the whole file, or even the last 30KB).
8
+ Handles file truncation too.
9
+
10
+ No server side code is required - it's all just static
11
+ files - and all modern web servers support Range (tested lighttpd, cherokee,
12
+ apache). Tested (briefly) in IE, FF, Chrome.
13
+
14
+ Usage: symlink the log to /log, or alter the url in logtail.js. Other settings
15
+ available in logtail.js including poll frequency.
16
+
17
+ License is GNU GPL 3; see http://www.gnu.org/licenses/
You can’t perform that action at this time.
0 commit comments