How to disable built-in log rotation in privacyIDEA?

I want to disable privacyIDEA’s built-in log rotation mechanism and use only system logrotate.

Current pi.cfg configuration:

PI_LOGFILE = ‘/var/log/privacyidea/privacyidea.log’
PI_LOGLEVEL = logging.INFO

How can I completely disable privacyIDEA’s internal log rotation?
privacyIDEA 3.11.4

There is no “internal” log rotation. It is the Python logging facility.
You can completely adapt it this way: