Print time log at the top of every log

Write the date to the log file, then append to the file.