Echoed 'end log' to the log file in the end.