Add processlog.py for log processing