changing to logger from STDOUT
changes to save file before analyzing
Exception analysis to parallel from serial.