readlog.py revision