def pull_log_metadata(line_list):
    """
    Extracts metadata to be stored in SippingMetadata model

    :param line_list: Raw list of output pulled from logfile
    :return: Returns strings containing values for SippingMetadata model
    """
    miseq_path = str()
    miseq_folder = str()
    fastq_destination = str()
    samplesheet = str()

    for item in line_list[:10]:
        if item.startswith('MiSeqPath:'):
            miseq_path = item.replace(',', '').replace('MiSeqPath: ', '')
        elif item.startswith('MiSeqFolder'):
            miseq_folder = item.replace(',', '').replace('MiSeqFolder: ', '')
        elif item.startswith('Fastq destination'):
            fastq_destination = item.replace(',', '').replace('Fastq destination: ', '')
        elif item.startswith('SampleSheet'):
            samplesheet = item.replace(',', '').replace('SampleSheet: ', '')
    return miseq_path, miseq_folder, fastq_destination, samplesheet