def METHOD_NAME(CustomLogObjects):
    new_customlogs = []
    if CustomLogObjects is not None :
        for customlog in CustomLogObjects:
            if customlog['LogName'].value is not None:
                customlog['LogName']=customlog['LogName'].value
            new_filepaths = []
            if customlog['FilePath'] is not None and len(customlog['FilePath'].value) > 0:
                for filepath in customlog['FilePath'].value:
                    if filepath is not None and len(filepath) > 0:
                        new_filepaths.append(filepath)
            if len(new_filepaths) > 0:
                customlog['FilePath'] = new_filepaths
                new_customlogs.append(customlog)
    CustomLogObjects = new_customlogs