Changing the log time period