def __open(self):
        if self.encoding is None:
            stream = open(self.baseFilename, self.mode)
        else:
            stream = logging.codecs.open(
                         self.baseFilename, self.mode, self.encoding)
        return stream
Open the log file.
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/msclog.py/FleetingFileHandler.__open