You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.LogInformation("Connecting to Storage account {AccountEndpoint} using {UseRbacAuth} with {EnableInteractiveCredentials}'",settings.AccountEndpoint,nameof(AzureBlobSourceSettings.UseRbacAuth),nameof(AzureBlobSourceSettings.EnableInteractiveCredentials));
22
+
logger.LogInformation("Connecting to Storage account {AccountEndpoint} using {UseRbacAuth} with {EnableInteractiveCredentials}",settings.AccountEndpoint,nameof(AzureBlobSourceSettings.UseRbacAuth),nameof(AzureBlobSourceSettings.EnableInteractiveCredentials));
logger.LogInformation("Transferred {UploadedBytes} bytes to Azure Blob",l);
53
+
if(DateTime.UtcNow-lastLogTime>=logInterval)
54
+
{
55
+
logger.LogInformation("{BlobName}: transferred {TotalMiB:F2} MiB to Azure Blob",settings.BlobName,(double)l/1024/1024);
56
+
lastLogTime=DateTime.UtcNow;
57
+
}
58
+
59
+
totalBytes=l;
49
60
})
61
+
50
62
},cancellationToken);
63
+
64
+
varswWrite=newStopwatch();
65
+
swWrite.Start();
51
66
awaitwriteToStream(blobStream);
67
+
swWrite.Stop();
68
+
69
+
if(totalBytes!=0)
70
+
{
71
+
vartotalMib=(double)totalBytes/1024/1024;
72
+
73
+
logger.LogInformation("{BlobName}: transferred {TotalMiB:F2} Mib to Azure Blob in {TotalTime} seconds.",settings.BlobName,totalMib,swWrite.Elapsed.TotalSeconds);
0 commit comments