log: support `d` (day) in `roll_interval` directive (#7900)