I use Log4j with the RollingFileAppender to create a log rotation based on size.
RollingFileAppender
How can I configure it to log to each file for a certain amount of
You need to use the DailyRollingFileAppender. Despite its misleading name it can be configured in a to run at configurable time periods up to minutes.