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

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
50
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
52
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
53
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.
49
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.
50
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.
51
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.
52
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.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
52
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
53
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
50
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
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/2f1db20456007c9515068a35a65afdf99af70bc6
50
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
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/da6e34b3e17bac8fd1f78c7e76d7ed6192514651
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/ecdcc752d4639061c2c49727ee77a1039bbbca22
50

.NET Framework 4.6.2

.NET Standard 2.0

.NET 10.0

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