cleanup logging in multiple functions (#73)

This commit is contained in:
bmc-msft
2020-10-01 23:31:08 -04:00
committed by GitHub
parent 8b6ea9f66b
commit f72543dde2
6 changed files with 18 additions and 11 deletions

View File

@ -58,7 +58,7 @@ def get_storage_account_name_key(account_id: Optional[str] = None) -> Tuple[str,
@cached(ttl=60)
def get_blob_service(account_id: Optional[str] = None) -> BlockBlobService:
logging.info("getting blob container (account_id: %s)", account_id)
logging.debug("getting blob container (account_id: %s)", account_id)
name, key = get_storage_account_name_key(account_id)
service = BlockBlobService(account_name=name, account_key=key)
return service