def shouldRollover(self, _): # pylint: disable=C0103
    return self._reopen or not self.stream
Determine whether log file should be reopened.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/log.py/_ReopenableLogHandler.shouldRollover