support generating new log file on new day