How to write rotated logs into YYYY/MM/DD folder hierarchy?

How can one configure Zeek to write rotated log files into LogDir/YYYY/MM/DD folder structure instead of the default LogDir/YYYY-MM-DD?