Log watcher (tail -F *.log) (Python recipe) by Giampaolo Rodolà A python class which "watches" a directory and calls a callback(filename, lines) function every time one of the files being watched gets written, in real time. Practically speaking, this can be compared to "tail -F *.log" UNIX command, but instead of having lines printed to stdout a python function gets called. Similarly to tail, it t