added two log files, for success and for failure