def METHOD_NAME(self, parentTask, taskName = "LogCollect"):
    """
    _addLogCollecTask_
    Create a LogCollect task for log archives that are produced by the
    parent task.
    """
    logCollectTask = parentTask.addTask(taskName)
    logCollectStep = logCollectTask.makeStep("logCollect1")
    logCollectStep.setStepType("LogCollect")
    logCollectTask.applyTemplates()
    logCollectTask.setSplittingAlgorithm("MinFileBased", files_per_job = 500)
    logCollectTask.setTaskType("LogCollect")
    parentTaskLogArch = parentTask.getStep("logArch1")
    logCollectTask.setInputReference(parentTaskLogArch, outputModule = "logArchive")
    return