Print timestamp above each log

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