def create_auth(self, xrn, create_parents=False):
hrn, type = urn_to_hrn(xrn)
- sfaImporter.logger.info("Hierarchy: creating authority: " + hrn)
+ sfa_logger.debug("Hierarchy: creating authority: " + hrn)
# create the parent authority if necessary
parent_hrn = get_authority(hrn)
# @param xrn the human readable name of the authority to create (urn will be converted to hrn).
def get_auth_info(self, xrn):
-
- sfaImporter.logger.info("Hierarchy: getting authority: " + hrn)
hrn, type = urn_to_hrn(xrn)
+ sfa_logger.debug("Hierarchy: xrn=%s, getting authority for hrn=%s"%(xrn,hrn))
if not self.auth_exists(hrn):
raise MissingAuthority(hrn)