Skip to content

Instantly share code, notes, and snippets.

View rickhurst's full-sized avatar

Rick Hurst rickhurst

View GitHub Profile
@rickhurst
rickhurst / tornadolog.py
Created October 19, 2018 16:55 — forked from asimihsan/tornadolog.py
Tail a file over HTTP WebSockets with a Tornado server.
#!/usr/bin/env python
import logging
import tornado.httpserver
import tornado.ioloop
import tornado.web
import tornado.websocket
from tornado.options import define, options
from tornado.process import Subprocess