write split-logs-automatically-every-day