removed redundant writing to a log file, because html log is already created separately