log to file + rotating file based on time #3