Started writing log processing script, work in progress.