Add date to log file