Mercurial > hg > orthanc-object-storage
changeset 11:1b85dc5eb372
more logs for azure plugin
author | Alain Mazy |
---|---|
date | Wed, 26 Aug 2020 11:15:14 +0200 |
parents | bc77f916104b |
children | a203d0a4fd8f |
files | Azure/AzureBlobStoragePlugin.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Azure/AzureBlobStoragePlugin.cpp Mon Jul 20 13:08:18 2020 +0200 +++ b/Azure/AzureBlobStoragePlugin.cpp Wed Aug 26 11:15:14 2020 +0200 @@ -211,10 +211,16 @@ try { + OrthancPlugins::LogInfo("Connecting to Azure storage ..."); + as::cloud_storage_account storageAccount = as::cloud_storage_account::parse(connectionString); + OrthancPlugins::LogInfo("Storage account created"); as::cloud_blob_client blobClient = storageAccount.create_cloud_blob_client(); + OrthancPlugins::LogInfo("Blob client created"); + as::cloud_blob_container blobContainer = blobClient.get_container_reference(containerName); + OrthancPlugins::LogInfo("Accessing blob container"); // Return value is true if the container did not exist and was successfully created. bool containerCreated = blobContainer.create_if_not_exists();