def log_info(self, data):
        ''' Logs successful responses '''
        info = 'label={label}, id={id}, ilx={ilx}, superclass_tid={super_id}'
        info_filled = info.format(label    = data['label'],
                                  id       = data['id'],
                                  ilx      = data['ilx'],
                                  super_id = data['superclasses'][0]['id'])
        logging.info(info_filled)
        return info_filled
Logs successful responses