Modified parseLog2 to detect failed runs and rerun logs