change log.py to fit cis