Changing time that log file is written