Periodic log rotation with max backup files.