put the time in when using log file.