Microsoft.Extensions.Logging.AzureAppServices 10.0.0-preview.6.25358.103

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
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
57
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.
54
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.
55
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.
56
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.
57
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.
58
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.
59
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.
61
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
57
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
59
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
57
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
61
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
55
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
55
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/b8139c5ee58f1708b0e3368a1b241400edd6cbc4
60
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
60
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
55

.NET Framework 4.6.2

.NET Standard 2.0

.NET 10.0

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