def METHOD_NAME(self, fileName, uploadName=None):
    """
    """
    if not uploadName:
        uploadName = os.path.split(fileName)[1]
    params = [('name', uploadName)]
    resString = self["requests"].uploadFile(fileName=fileName, fieldName='inputfile',
                                            url=self['endpoint'] + 'logfile',
                                            params=params, verb='PUT')
    return json.loads(resString)['result'][0]