Microsoft.Extensions.Logging.AzureAppServices 10.0.0-rc.2.25502.107

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.All
Microsoft.AspNetCore.All
73
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
75
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
74
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
75
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
78
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
79
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
80
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
81
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
76
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/7b22a279ec975335bbb0a7cbadef2e45ee15aa9c
75
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/80fec4e3edea3972e95885f5c0db6ee06072f917
75
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/e81033e094d4663ffd227bb4aed30b76b0631e6d
75
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/2f1db20456007c9515068a35a65afdf99af70bc6
75
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
76
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/ae1a6cbe225b99c0bf38b7e31bf60cb653b73a52
75
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/da6e34b3e17bac8fd1f78c7e76d7ed6192514651
76
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/f6897a5bb7ca767df8eb465bf15b193c878fffbf
74

.NET Framework 4.6.2

.NET Standard 2.0

.NET 10.0

Version Downloads Last updated
10.0.0-rc.2.25502.107 10 10/15/2025
10.0.0-rc.1.25451.107 19 09/09/2025
10.0.0-preview.7.25380.108 21 08/14/2025
10.0.0-preview.6.25358.103 30 07/16/2025
10.0.0-preview.5.25277.114 32 06/06/2025
10.0.0-preview.4.25258.110 41 05/13/2025
10.0.0-preview.3.25172.1 46 04/12/2025
10.0.0-preview.2.25164.1 45 03/30/2025
10.0.0-preview.1.25120.3 46 03/30/2025
9.0.10 8 10/15/2025
9.0.9 17 09/09/2025
9.0.8 27 08/05/2025
9.0.7 34 07/09/2025
9.0.6 32 06/11/2025
9.0.5 39 05/14/2025
9.0.4 54 04/10/2025
9.0.3 44 03/30/2025
9.0.2 48 03/30/2025
9.0.1 49 03/30/2025
9.0.0 47 11/14/2024
9.0.0-rc.2.24474.3 48 10/21/2024
9.0.0-rc.1.24452.1 50 10/20/2024
9.0.0-preview.7.24406.2 49 08/21/2024
9.0.0-preview.6.24328.4 66 07/20/2024
9.0.0-preview.5.24306.11 62 07/20/2024
9.0.0-preview.4.24267.6 69 07/20/2024
9.0.0-preview.3.24172.13 60 07/20/2024
9.0.0-preview.2.24128.4 66 07/20/2024
9.0.0-preview.1.24081.5 68 07/20/2024
8.0.21 8 10/15/2025
8.0.20 18 09/09/2025
8.0.19 25 08/05/2025
8.0.18 32 07/09/2025
8.0.17 28 06/11/2025
8.0.16 34 05/14/2025
8.0.15 48 04/10/2025
8.0.14 49 03/29/2025
8.0.13 49 03/29/2025
8.0.12 47 03/29/2025
8.0.11 47 11/14/2024
8.0.10 58 10/22/2024
8.0.8 46 08/21/2024
8.0.7 73 07/20/2024
8.0.6 54 07/20/2024
8.0.5 57 07/20/2024
8.0.4 49 07/20/2024
8.0.3 54 07/20/2024
8.0.2 63 07/20/2024
8.0.1 60 07/20/2024
8.0.0 72 07/20/2024
8.0.0-rc.2.23480.2 52 07/20/2024
8.0.0-rc.1.23421.29 51 07/20/2024
8.0.0-preview.7.23375.9 62 07/20/2024
8.0.0-preview.6.23329.11 63 07/20/2024
8.0.0-preview.5.23302.2 60 07/20/2024
8.0.0-preview.4.23260.4 66 07/20/2024
8.0.0-preview.3.23177.8 60 07/20/2024
8.0.0-preview.2.23153.2 61 07/20/2024
8.0.0-preview.1.23112.2 61 07/20/2024
7.0.20 61 07/20/2024
7.0.19 63 07/20/2024
7.0.18 66 07/20/2024
7.0.17 63 07/20/2024
7.0.16 62 07/20/2024
7.0.15 63 07/20/2024
7.0.14 56 07/20/2024
7.0.13 63 07/20/2024
7.0.12 62 07/20/2024
7.0.11 68 07/20/2024
7.0.10 65 07/20/2024
7.0.9 58 07/20/2024
7.0.8 62 07/20/2024
7.0.7 61 07/20/2024
7.0.5 55 07/20/2024
7.0.4 65 07/20/2024
7.0.3 61 07/20/2024
7.0.2 61 07/20/2024
7.0.1 65 07/20/2024
7.0.0 58 07/20/2024
7.0.0-rc.2.22476.2 65 07/20/2024
7.0.0-rc.1.22427.2 68 07/20/2024
7.0.0-preview.7.22376.6 55 07/20/2024
7.0.0-preview.6.22330.3 58 07/20/2024
7.0.0-preview.5.22303.8 54 07/20/2024
7.0.0-preview.4.22251.1 57 07/20/2024
7.0.0-preview.3.22178.4 60 07/20/2024
7.0.0-preview.2.22153.2 55 07/20/2024
7.0.0-preview.1.22109.13 59 07/20/2024
6.0.36 49 11/14/2024
6.0.35 48 10/22/2024
6.0.33 48 08/21/2024
6.0.32 59 07/20/2024
6.0.31 59 07/20/2024
6.0.30 56 07/20/2024
6.0.29 52 07/20/2024
6.0.28 52 07/20/2024
6.0.27 70 07/20/2024
6.0.26 61 07/20/2024
6.0.25 63 07/20/2024
6.0.24 58 07/20/2024
6.0.23 59 07/20/2024
6.0.22 54 07/20/2024
6.0.21 69 07/20/2024
6.0.20 68 07/20/2024
6.0.19 54 07/20/2024
6.0.18 69 07/20/2024
6.0.16 65 07/20/2024
6.0.15 48 07/20/2024
6.0.14 69 07/20/2024
6.0.13 52 07/20/2024
6.0.12 53 07/20/2024
6.0.11 66 07/20/2024
6.0.10 70 07/20/2024
6.0.9 67 07/20/2024
6.0.8 68 07/20/2024
6.0.7 57 07/20/2024
6.0.6 68 07/20/2024
6.0.5 57 07/20/2024
6.0.4 68 07/20/2024
6.0.3 67 07/20/2024
6.0.2 59 07/20/2024
6.0.1 74 07/20/2024
6.0.0 61 07/20/2024
6.0.0-rc.2.21480.10 57 07/20/2024
6.0.0-rc.1.21452.15 57 07/20/2024
6.0.0-preview.7.21378.6 68 07/20/2024
6.0.0-preview.6.21355.2 57 07/20/2024
6.0.0-preview.5.21301.17 66 07/20/2024
6.0.0-preview.4.21253.5 54 07/20/2024
6.0.0-preview.3.21201.13 52 07/20/2024
6.0.0-preview.2.21154.6 58 07/20/2024
6.0.0-preview.1.21103.6 71 07/20/2024
5.0.17 71 07/20/2024
5.0.16 63 07/20/2024
5.0.15 65 07/20/2024
5.0.14 55 07/20/2024
5.0.13 68 07/20/2024
5.0.12 68 07/20/2024
5.0.11 69 07/20/2024
5.0.10 66 07/20/2024
5.0.9 60 07/20/2024
5.0.8 67 07/20/2024
5.0.7 66 07/20/2024
5.0.6 65 07/20/2024
5.0.5 65 07/20/2024
5.0.4 55 07/20/2024
5.0.3 63 07/20/2024
5.0.2 66 07/20/2024
5.0.1 60 07/20/2024
5.0.0 76 07/20/2024
5.0.0-rc.2.20475.17 65 07/20/2024
5.0.0-rc.1.20451.17 59 07/20/2024
5.0.0-preview.8.20414.8 65 07/20/2024
5.0.0-preview.7.20365.19 54 07/20/2024
5.0.0-preview.6.20312.15 55 07/20/2024
5.0.0-preview.5.20279.2 57 07/20/2024
5.0.0-preview.4.20257.10 62 07/20/2024
5.0.0-preview.3.20215.2 63 07/20/2024
5.0.0-preview.2.20160.3 49 07/20/2024
5.0.0-preview.1.20120.4 53 07/20/2024
3.1.32 74 07/20/2024
3.1.31 55 07/20/2024
3.1.30 60 07/20/2024
3.1.29 53 07/20/2024
3.1.28 57 07/20/2024
3.1.27 57 07/20/2024
3.1.26 51 07/20/2024
3.1.25 55 07/20/2024
3.1.24 57 07/20/2024
3.1.23 72 07/20/2024
3.1.22 56 07/20/2024
3.1.21 67 07/20/2024
3.1.20 54 07/20/2024
3.1.19 57 07/20/2024
3.1.18 60 07/20/2024
3.1.17 62 07/20/2024
3.1.16 59 07/20/2024
3.1.15 67 07/20/2024
3.1.14 58 07/20/2024
3.1.13 58 07/20/2024
3.1.12 49 07/20/2024
3.1.11 59 07/20/2024
3.1.10 63 07/20/2024
3.1.9 49 07/20/2024
3.1.8 57 07/20/2024
3.1.7 70 07/20/2024
3.1.6 60 07/20/2024
3.1.5 58 07/20/2024
3.1.4 63 07/20/2024
3.1.3 64 07/20/2024
3.1.2 59 07/20/2024
3.1.1 58 07/20/2024
3.1.0 63 07/20/2024
3.1.0-preview3.19553.2 72 07/20/2024
3.1.0-preview2.19525.4 61 07/20/2024
3.1.0-preview1.19506.1 66 07/20/2024
3.0.3 57 07/20/2024
3.0.2 57 07/20/2024
3.0.1 59 07/20/2024
3.0.0 63 07/20/2024
3.0.0-rc1.19456.10 57 07/20/2024
3.0.0-preview9.19423.4 64 07/20/2024
3.0.0-preview8.19405.4 68 07/20/2024
3.0.0-preview7.19362.4 60 07/20/2024
3.0.0-preview6.19304.6 67 07/20/2024
3.0.0-preview5.19227.9 61 07/20/2024
3.0.0-preview4.19216.2 55 07/20/2024
3.0.0-preview3.19153.1 62 07/20/2024
3.0.0-preview.19074.2 64 07/20/2024
3.0.0-preview.18572.1 58 07/20/2024
2.2.5 63 07/20/2024
2.2.0 50 07/20/2024
2.2.0-preview3-35497 61 07/20/2024
2.2.0-preview2-35157 68 07/20/2024
2.2.0-preview1-35029 63 07/20/2024
2.1.1 59 07/20/2024
2.1.0 55 07/20/2024
2.1.0-rc1-final 61 07/20/2024
2.1.0-preview2-final 53 07/20/2024
2.1.0-preview1-final 62 07/20/2024
2.0.2 69 07/20/2024
2.0.1 65 07/20/2024
2.0.0 60 07/20/2024
2.0.0-preview2-final 53 07/20/2024
2.0.0-preview1-final 66 07/20/2024
1.0.2 66 07/20/2024
1.0.1 61 07/20/2024
1.0.0 65 07/20/2024
1.0.0-preview1-final 64 07/20/2024