Tool to process the log