Azure App Service Logging Providers use Append Blob in Storage operations
We are currently using Web Jobs within out Azure App Service.
The logging uses AzureWebAppDiagnostics and is configured to log to a local storage account.
private static void configureLogging(IConfigurationRoot config, ILoggingBuilder builder)
{
var minimumLoggingLevel = config.GetValue<int>(CONSOLE_TEST_MINIMUM_LOG_LEVEL)
== 0 ? LogLevel.Information : (LogLevel)config.GetValue<int>(CONSOLE_TEST_MINIMUM_LOG_LEVEL);
builder.SetMinimumLevel(minimumLoggingLevel);
builder.AddConsole();
builder.AddAzureWebAppDiagnostics();}
However, it appears that Microsoft.Extensions.Logging.AzureAppServices favors using Append blobs vs. the Block Blobs mandated by the collection process specified here: https://help.sumologic.com/03Send-Data/Collect-from-Other-Data-Sources/Azure_Blob_Storage/Collect_Logs_from_Azure_Blob_Storage
Is there a workaround to ingesting Azure storage Append Blobs or a recommendation for logging when using AzureWebAppDiagnostics ?
Thank you!
-
Official comment
Hi Sean,
Can you configure AzureWebAppDiagnostics to directly send to Event Hub instead of a storage account?-RahulComment actions
Please sign in to leave a comment.
Comments
1 comment