'Set up request logging if necessary.'

def startFactory(self):

    if (self._logDateTimeCall is None):
        self._updateLogDateTime()
    if self.logPath:
        self.logFile = self._openLogFile(self.logPath)
    else:
        self.logFile = log.logfile
