add mc config and a tool to search "FAIL" in log file