Microsoft.Extensions.Logging.AzureAppServices 11.0.0-preview.6.26359.118

About

Microsoft.Extensions.Logging.AzureAppServices provides a logger implementation that logs to text files in an Azure App Service app's file system and to blob storage in an Azure Storage account.

Key Features

  • Loging messages with the "Diagnostics Logger" and "Log Streaming" features of Azure App Service
  • Integration with Azure App Service logging infrastructure
  • Seamless integration with other components of Microsoft.Extensions.Logging

How to Use

To use Microsoft.Extensions.Logging.AzureAppServices, follow these steps:

Installation

dotnet add package Microsoft.Extensions.Logging.AzureAppServices

Configuration

To configure provider settings, use AzureFileLoggerOptions and AzureBlobLoggerOptions, as shown in the following example:

using Microsoft.Extensions.Logging.AzureAppServices;

var builder = WebApplication.CreateBuilder();
builder.Logging.AddAzureWebAppDiagnostics();
builder.Services.Configure<AzureFileLoggerOptions>(options =>
{
    options.FileName = "azure-diagnostics-";
    options.FileSizeLimit = 50 * 1024;
    options.RetainedFileCountLimit = 5;
});
builder.Services.Configure<AzureBlobLoggerOptions>(options =>
{
    options.BlobName = "log.txt";
});

Main Types

  • FileLoggerProvider: A BatchingLoggerProvider which writes out to a file
  • BlobLoggerProvider: The ILoggerProvider implementation that stores messages by appending them to Azure Blob in batches
  • AzureFileLoggerOptions: Options for configuring Azure diagnostics file logging
  • AzureBlobLoggerOptions: Options for configuring Azure diagnostics blob logging

Additional Documentation

For additional documentation and examples, refer to the official documentation on logging with ASP.NEt Core and Azure App Service.

Feedback & Contributing

Microsoft.Extensions.Logging.AzureAppServices is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Extensions.Logging.AzureAppServices.

Packages Downloads
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
20
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/0a2e366eaf4d29b24b9a98e5782a04bef573189e
20
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/33c2d01092d9a1b7a583fe99a50b15686e2b7de9
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/458d97420a173fe87487b58ec4aa47a4c9dc4710
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/8ca3954ca335343ce6dd1d14d8d1c6c3369710b7
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/9699b939f94b7524a178821d78addefa5af5d750
19
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/cf2c5c9c6dca430b97aa96429b84d0da07eb77f1
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/1dcf7acfacf0fe154adcc23270cb0da11ff44ace
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/32e8c8cae5b1a4dd752d0a42a6f8a2813f75f173
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3c37ef8f5358abb303c05d299f029fca7d867d56
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/67acc3d331454956fc06d6de2218a625e3e596f8
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6a6d775f49623bbd742c02f89d373630668547bb
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/70048beee894074e9718206a0017d9b080ee66ff
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/827b96040e62e5aa47d829bfa61c000d315d4f2e
19
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/88ec3bc3f37e76fbcc932a25f9f0c1c29fe2b343
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ae2eabad0e49302d0632a7dde917fdc68d960dc4
26
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/af22effae4069a5dfb9b0735859de48820104f5b
19
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/bc25dd5d39fd057f7cb28acb5ad4d9e925a375de
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d6f154cca3863703cf87c8b840eea9cbe20229b2
18
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ecdcc752d4639061c2c49727ee77a1039bbbca22
25

.NET 11.0

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.6.26359.118 1 21.07.2026
11.0.0-preview.5.26302.115 5 10.06.2026
11.0.0-preview.4.26230.115 6 17.05.2026
11.0.0-preview.3.26207.106 5 27.04.2026
11.0.0-preview.2.26159.112 5 15.03.2026
11.0.0-preview.1.26104.118 5 12.02.2026
10.0.10 1 21.07.2026
10.0.9 6 11.06.2026
10.0.8 7 17.05.2026
10.0.7 7 27.04.2026
10.0.6 7 27.04.2026
10.0.5 5 14.03.2026
10.0.4 5 14.03.2026
10.0.3 5 12.02.2026
10.0.2 7 22.01.2026
10.0.1 6 18.12.2025
10.0.0 9 17.11.2025
10.0.0-rc.2.25502.107 9 29.11.2025
10.0.0-rc.1.25451.107 8 21.11.2025
10.0.0-preview.7.25380.108 9 22.08.2025
10.0.0-preview.6.25358.103 8 08.08.2025
10.0.0-preview.5.25277.114 11 12.06.2025
10.0.0-preview.4.25258.110 10 12.06.2025
10.0.0-preview.3.25172.1 10 11.06.2025
10.0.0-preview.2.25164.1 14 26.03.2025
10.0.0-preview.1.25120.3 15 13.03.2025
9.0.18 1 21.07.2026
9.0.17 6 11.06.2026
9.0.16 7 17.05.2026
9.0.15 7 27.04.2026
9.0.14 5 14.03.2026
9.0.13 5 12.02.2026
9.0.12 6 22.01.2026
9.0.11 7 18.11.2025
9.0.10 10 25.10.2025
9.0.9 11 16.09.2025
9.0.8 13 21.08.2025
9.0.7 12 05.08.2025
9.0.6 13 05.08.2025
9.0.5 13 10.06.2025
9.0.4 16 10.06.2025
9.0.3 17 12.03.2025
9.0.2 18 26.03.2025
9.0.1 19 29.01.2025
9.0.0 17 01.02.2025
9.0.0-rc.2.24474.3 14 17.02.2025
9.0.0-rc.1.24452.1 15 30.01.2025
9.0.0-preview.7.24406.2 14 01.02.2025
9.0.0-preview.6.24328.4 16 31.01.2025
9.0.0-preview.5.24306.11 13 31.01.2025
9.0.0-preview.4.24267.6 13 01.02.2025
9.0.0-preview.3.24172.13 15 31.01.2025
9.0.0-preview.2.24128.4 14 08.02.2025
9.0.0-preview.1.24081.5 14 31.01.2025
8.0.29 1 21.07.2026
8.0.28 6 13.06.2026
8.0.27 6 17.05.2026
8.0.26 3 27.04.2026
8.0.25 5 14.03.2026
8.0.24 6 12.02.2026
8.0.23 6 22.01.2026
8.0.22 9 18.11.2025
8.0.21 9 25.10.2025
8.0.20 13 16.09.2025
8.0.19 12 21.08.2025
8.0.18 12 05.08.2025
8.0.17 14 05.08.2025
8.0.16 14 10.06.2025
8.0.15 15 10.06.2025
8.0.14 17 12.03.2025
8.0.13 22 20.02.2025
8.0.12 19 31.01.2025
8.0.11 18 31.01.2025
8.0.10 19 31.01.2025
8.0.8 17 01.02.2025
8.0.7 19 05.02.2025
8.0.6 18 31.01.2025
8.0.5 21 04.02.2025
8.0.4 17 31.01.2025
8.0.3 17 31.01.2025
8.0.2 18 31.01.2025
8.0.1 18 06.02.2025
8.0.0 20 31.01.2025
8.0.0-rc.2.23480.2 16 31.01.2025
8.0.0-rc.1.23421.29 16 08.02.2025
8.0.0-preview.7.23375.9 14 31.01.2025
8.0.0-preview.6.23329.11 14 31.01.2025
8.0.0-preview.5.23302.2 15 06.02.2025
8.0.0-preview.4.23260.4 13 31.01.2025
8.0.0-preview.3.23177.8 13 31.01.2025
8.0.0-preview.2.23153.2 15 01.02.2025
8.0.0-preview.1.23112.2 13 31.01.2025
7.0.20 18 31.01.2025
7.0.19 21 31.01.2025
7.0.18 19 31.01.2025
7.0.17 19 31.01.2025
7.0.16 19 31.01.2025
7.0.15 18 31.01.2025
7.0.14 19 31.01.2025
7.0.13 19 31.01.2025
7.0.12 19 31.01.2025
7.0.11 18 31.01.2025
7.0.10 18 31.01.2025
7.0.9 17 31.01.2025
7.0.8 18 31.01.2025
7.0.7 17 31.01.2025
7.0.5 17 31.01.2025
7.0.4 21 31.01.2025
7.0.3 17 01.02.2025
7.0.2 18 01.02.2025
7.0.1 20 08.02.2025
7.0.0 17 31.01.2025
7.0.0-rc.2.22476.2 15 03.02.2025
7.0.0-rc.1.22427.2 16 31.01.2025
7.0.0-preview.7.22376.6 14 31.01.2025
7.0.0-preview.6.22330.3 14 31.01.2025
7.0.0-preview.5.22303.8 15 05.02.2025
7.0.0-preview.4.22251.1 15 31.01.2025
7.0.0-preview.3.22178.4 14 31.01.2025
7.0.0-preview.2.22153.2 14 01.02.2025
7.0.0-preview.1.22109.13 15 31.01.2025
6.0.36 20 31.01.2025
6.0.35 19 31.01.2025
6.0.33 18 01.02.2025
6.0.32 19 31.01.2025
6.0.31 21 31.01.2025
6.0.30 20 31.01.2025
6.0.29 18 01.02.2025
6.0.28 18 31.01.2025
6.0.27 19 31.01.2025
6.0.26 18 31.01.2025
6.0.25 19 31.01.2025
6.0.24 19 31.01.2025
6.0.23 18 31.01.2025
6.0.22 19 01.02.2025
6.0.21 21 31.01.2025
6.0.20 20 31.01.2025
6.0.19 18 31.01.2025
6.0.18 18 31.01.2025
6.0.16 18 31.01.2025
6.0.15 19 31.01.2025
6.0.14 18 31.01.2025
6.0.13 19 31.01.2025
6.0.12 19 31.01.2025
6.0.11 18 31.01.2025
6.0.10 19 31.01.2025
6.0.9 18 31.01.2025
6.0.8 17 31.01.2025
6.0.7 17 31.01.2025
6.0.6 18 31.01.2025
6.0.5 19 04.02.2025
6.0.4 17 31.01.2025
6.0.3 17 31.01.2025
6.0.2 18 31.01.2025
6.0.1 17 31.01.2025
6.0.0 20 31.01.2025
6.0.0-rc.2.21480.10 14 31.01.2025
6.0.0-rc.1.21452.15 14 06.02.2025
6.0.0-preview.7.21378.6 14 31.01.2025
6.0.0-preview.6.21355.2 14 31.01.2025
6.0.0-preview.5.21301.17 13 03.02.2025
6.0.0-preview.4.21253.5 13 31.01.2025
6.0.0-preview.3.21201.13 14 31.01.2025
6.0.0-preview.2.21154.6 16 31.01.2025
6.0.0-preview.1.21103.6 13 31.01.2025
5.0.17 19 01.02.2025
5.0.16 19 31.01.2025
5.0.15 20 31.01.2025
5.0.14 19 31.01.2025
5.0.13 21 31.01.2025
5.0.12 20 31.01.2025
5.0.11 20 31.01.2025
5.0.10 18 05.02.2025
5.0.9 18 31.01.2025
5.0.8 18 31.01.2025
5.0.7 18 31.01.2025
5.0.6 17 31.01.2025
5.0.5 17 31.01.2025
5.0.4 17 31.01.2025
5.0.3 18 31.01.2025
5.0.2 18 31.01.2025
5.0.1 17 31.01.2025
5.0.0 20 31.01.2025
5.0.0-rc.2.20475.17 14 18.02.2025
5.0.0-rc.1.20451.17 14 05.02.2025
5.0.0-preview.8.20414.8 16 31.01.2025
5.0.0-preview.7.20365.19 14 01.02.2025
5.0.0-preview.6.20312.15 14 01.02.2025
5.0.0-preview.5.20279.2 15 31.01.2025
5.0.0-preview.4.20257.10 14 31.01.2025
5.0.0-preview.3.20215.2 13 31.01.2025
5.0.0-preview.2.20160.3 12 31.01.2025
5.0.0-preview.1.20120.4 14 31.01.2025
3.1.32 18 06.02.2025
3.1.31 20 31.01.2025
3.1.30 18 31.01.2025
3.1.29 20 06.02.2025
3.1.28 20 04.02.2025
3.1.27 18 20.02.2025
3.1.26 19 05.02.2025
3.1.25 20 06.02.2025
3.1.24 19 06.02.2025
3.1.23 18 05.02.2025
3.1.22 18 04.02.2025
3.1.21 21 07.02.2025
3.1.20 19 05.02.2025
3.1.19 19 05.02.2025
3.1.18 21 09.02.2025
3.1.17 20 08.02.2025
3.1.16 21 31.01.2025
3.1.15 18 19.02.2025
3.1.14 20 30.01.2025
3.1.13 18 08.02.2025
3.1.12 20 19.02.2025
3.1.11 20 06.02.2025
3.1.10 19 31.01.2025
3.1.9 18 05.02.2025
3.1.8 17 05.02.2025
3.1.7 17 04.02.2025
3.1.6 19 31.01.2025
3.1.5 17 08.02.2025
3.1.4 19 05.02.2025
3.1.3 18 07.02.2025
3.1.2 19 01.02.2025
3.1.1 20 05.02.2025
3.1.0 17 06.02.2025
3.1.0-preview3.19553.2 14 31.01.2025
3.1.0-preview2.19525.4 15 05.02.2025
3.1.0-preview1.19506.1 12 05.02.2025
3.0.3 20 31.01.2025
3.0.2 20 31.01.2025
3.0.1 18 06.02.2025
3.0.0 22 31.01.2025
3.0.0-rc1.19456.10 12 08.02.2025
3.0.0-preview9.19423.4 16 31.01.2025
3.0.0-preview8.19405.4 16 08.02.2025
3.0.0-preview7.19362.4 13 31.01.2025
3.0.0-preview6.19304.6 14 05.02.2025
3.0.0-preview5.19227.9 14 08.02.2025
3.0.0-preview4.19216.2 13 31.01.2025
3.0.0-preview3.19153.1 13 31.01.2025
3.0.0-preview.19074.2 13 31.01.2025
3.0.0-preview.18572.1 13 31.01.2025
2.2.5 19 31.01.2025
2.2.0 17 05.02.2025
2.2.0-preview3-35497 14 01.02.2025
2.2.0-preview2-35157 13 31.01.2025
2.2.0-preview1-35029 13 01.02.2025
2.1.1 18 05.02.2025
2.1.0 18 05.02.2025
2.1.0-rc1-final 17 05.02.2025
2.1.0-preview2-final 15 31.01.2025
2.1.0-preview1-final 16 31.01.2025
2.0.2 19 31.01.2025
2.0.1 15 27.03.2025
2.0.0 14 31.01.2025
2.0.0-preview2-final 15 31.01.2025
2.0.0-preview1-final 15 31.01.2025
1.0.2 17 31.01.2025
1.0.1 20 05.02.2025
1.0.0 17 31.01.2025
1.0.0-preview1-final 15 31.01.2025