Added text colour for failure in log file