For the use case of combining a live tail session with grep or other utilities in a pipeline, there should be a separation between the log data going to stdout and all other diagnostic messages going to stderr.
My python is rusty, but I believe this amounts to simply giving a file=sys.stderr kwarg to every call to print() inside of liveTail(), e.g. here.