added logging and prepared it for windows debugging: for line in tailer.follow(open('debug_win.log')): print line