Microsoft.Extensions.Logging.AzureAppServices 10.0.2

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
111
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.
107
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.
108
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.
110
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.
111
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.
114
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.
115
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
107
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
108
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
110
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
108
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
116
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
110
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/330c2397160929d6d3275ade03cee436265258e8
108
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/8ad057426fa6a27cd648b05684afddab9d97d3d9
110
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/8af96e042134fb3b2f21df26dd0f32ea1c00dd37
110
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
114
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
110
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
108

Version Downloads Last updated
10.0.2 2 01/14/2026
10.0.1 9 12/11/2025
10.0.0 27 11/12/2025
10.0.0-rc.2.25502.107 46 10/15/2025
10.0.0-rc.1.25451.107 49 09/09/2025
10.0.0-preview.7.25380.108 54 08/14/2025
10.0.0-preview.6.25358.103 66 07/16/2025
10.0.0-preview.5.25277.114 64 06/06/2025
10.0.0-preview.4.25258.110 72 05/13/2025
10.0.0-preview.3.25172.1 76 04/12/2025
10.0.0-preview.2.25164.1 75 03/30/2025
10.0.0-preview.1.25120.3 79 03/30/2025
9.0.12 2 01/13/2026
9.0.11 30 11/12/2025
9.0.10 42 10/15/2025
9.0.9 54 09/09/2025
9.0.8 53 08/05/2025
9.0.7 66 07/09/2025
9.0.6 65 06/11/2025
9.0.5 82 05/14/2025
9.0.4 91 04/10/2025
9.0.3 79 03/30/2025
9.0.2 77 03/30/2025
9.0.1 85 03/30/2025
9.0.0 84 11/14/2024
9.0.0-rc.2.24474.3 81 10/21/2024
9.0.0-rc.1.24452.1 93 10/20/2024
9.0.0-preview.7.24406.2 81 08/21/2024
9.0.0-preview.6.24328.4 114 07/20/2024
9.0.0-preview.5.24306.11 95 07/20/2024
9.0.0-preview.4.24267.6 97 07/20/2024
9.0.0-preview.3.24172.13 92 07/20/2024
9.0.0-preview.2.24128.4 92 07/20/2024
9.0.0-preview.1.24081.5 111 07/20/2024
8.0.23 1 01/14/2026
8.0.22 25 11/12/2025
8.0.21 38 10/15/2025
8.0.20 51 09/09/2025
8.0.19 60 08/05/2025
8.0.18 63 07/09/2025
8.0.17 61 06/11/2025
8.0.16 68 05/14/2025
8.0.15 72 04/10/2025
8.0.14 78 03/29/2025
8.0.13 81 03/29/2025
8.0.12 79 03/29/2025
8.0.11 78 11/14/2024
8.0.10 90 10/22/2024
8.0.8 87 08/21/2024
8.0.7 115 07/20/2024
8.0.6 88 07/20/2024
8.0.5 99 07/20/2024
8.0.4 84 07/20/2024
8.0.3 88 07/20/2024
8.0.2 93 07/20/2024
8.0.1 97 07/20/2024
8.0.0 99 07/20/2024
8.0.0-rc.2.23480.2 81 07/20/2024
8.0.0-rc.1.23421.29 83 07/20/2024
8.0.0-preview.7.23375.9 96 07/20/2024
8.0.0-preview.6.23329.11 102 07/20/2024
8.0.0-preview.5.23302.2 97 07/20/2024
8.0.0-preview.4.23260.4 102 07/20/2024
8.0.0-preview.3.23177.8 91 07/20/2024
8.0.0-preview.2.23153.2 93 07/20/2024
8.0.0-preview.1.23112.2 91 07/20/2024
7.0.20 88 07/20/2024
7.0.19 99 07/20/2024
7.0.18 95 07/20/2024
7.0.17 98 07/20/2024
7.0.16 94 07/20/2024
7.0.15 99 07/20/2024
7.0.14 94 07/20/2024
7.0.13 93 07/20/2024
7.0.12 99 07/20/2024
7.0.11 109 07/20/2024
7.0.10 101 07/20/2024
7.0.9 86 07/20/2024
7.0.8 94 07/20/2024
7.0.7 92 07/20/2024
7.0.5 94 07/20/2024
7.0.4 97 07/20/2024
7.0.3 98 07/20/2024
7.0.2 96 07/20/2024
7.0.1 103 07/20/2024
7.0.0 84 07/20/2024
7.0.0-rc.2.22476.2 94 07/20/2024
7.0.0-rc.1.22427.2 100 07/20/2024
7.0.0-preview.7.22376.6 94 07/20/2024
7.0.0-preview.6.22330.3 99 07/20/2024
7.0.0-preview.5.22303.8 86 07/20/2024
7.0.0-preview.4.22251.1 86 07/20/2024
7.0.0-preview.3.22178.4 95 07/20/2024
7.0.0-preview.2.22153.2 99 07/20/2024
7.0.0-preview.1.22109.13 92 07/20/2024
6.0.36 84 11/14/2024
6.0.35 78 10/22/2024
6.0.33 86 08/21/2024
6.0.32 89 07/20/2024
6.0.31 97 07/20/2024
6.0.30 93 07/20/2024
6.0.29 86 07/20/2024
6.0.28 89 07/20/2024
6.0.27 98 07/20/2024
6.0.26 90 07/20/2024
6.0.25 87 07/20/2024
6.0.24 95 07/20/2024
6.0.23 90 07/20/2024
6.0.22 81 07/20/2024
6.0.21 97 07/20/2024
6.0.20 103 07/20/2024
6.0.19 83 07/20/2024
6.0.18 107 07/20/2024
6.0.16 95 07/20/2024
6.0.15 80 07/20/2024
6.0.14 97 07/20/2024
6.0.13 86 07/20/2024
6.0.12 81 07/20/2024
6.0.11 98 07/20/2024
6.0.10 106 07/20/2024
6.0.9 104 07/20/2024
6.0.8 105 07/20/2024
6.0.7 86 07/20/2024
6.0.6 105 07/20/2024
6.0.5 89 07/20/2024
6.0.4 108 07/20/2024
6.0.3 102 07/20/2024
6.0.2 88 07/20/2024
6.0.1 106 07/20/2024
6.0.0 91 07/20/2024
6.0.0-rc.2.21480.10 92 07/20/2024
6.0.0-rc.1.21452.15 89 07/20/2024
6.0.0-preview.7.21378.6 99 07/20/2024
6.0.0-preview.6.21355.2 82 07/20/2024
6.0.0-preview.5.21301.17 96 07/20/2024
6.0.0-preview.4.21253.5 87 07/20/2024
6.0.0-preview.3.21201.13 86 07/20/2024
6.0.0-preview.2.21154.6 97 07/20/2024
6.0.0-preview.1.21103.6 104 07/20/2024
5.0.17 108 07/20/2024
5.0.16 98 07/20/2024
5.0.15 95 07/20/2024
5.0.14 88 07/20/2024
5.0.13 99 07/20/2024
5.0.12 103 07/20/2024
5.0.11 100 07/20/2024
5.0.10 97 07/20/2024
5.0.9 104 07/20/2024
5.0.8 97 07/20/2024
5.0.7 92 07/20/2024
5.0.6 106 07/20/2024
5.0.5 96 07/20/2024
5.0.4 87 07/20/2024
5.0.3 102 07/20/2024
5.0.2 101 07/20/2024
5.0.1 94 07/20/2024
5.0.0 113 07/20/2024
5.0.0-rc.2.20475.17 93 07/20/2024
5.0.0-rc.1.20451.17 97 07/20/2024
5.0.0-preview.8.20414.8 101 07/20/2024
5.0.0-preview.7.20365.19 86 07/20/2024
5.0.0-preview.6.20312.15 82 07/20/2024
5.0.0-preview.5.20279.2 86 07/20/2024
5.0.0-preview.4.20257.10 90 07/20/2024
5.0.0-preview.3.20215.2 90 07/20/2024
5.0.0-preview.2.20160.3 84 07/20/2024
5.0.0-preview.1.20120.4 92 07/20/2024
3.1.32 110 07/20/2024
3.1.31 84 07/20/2024
3.1.30 95 07/20/2024
3.1.29 94 07/20/2024
3.1.28 86 07/20/2024
3.1.27 86 07/20/2024
3.1.26 82 07/20/2024
3.1.25 89 07/20/2024
3.1.24 86 07/20/2024
3.1.23 107 07/20/2024
3.1.22 81 07/20/2024
3.1.21 100 07/20/2024
3.1.20 84 07/20/2024
3.1.19 88 07/20/2024
3.1.18 89 07/20/2024
3.1.17 95 07/20/2024
3.1.16 84 07/20/2024
3.1.15 100 07/20/2024
3.1.14 94 07/20/2024
3.1.13 91 07/20/2024
3.1.12 81 07/20/2024
3.1.11 88 07/20/2024
3.1.10 96 07/20/2024
3.1.9 82 07/20/2024
3.1.8 91 07/20/2024
3.1.7 106 07/20/2024
3.1.6 91 07/20/2024
3.1.5 88 07/20/2024
3.1.4 98 07/20/2024
3.1.3 98 07/20/2024
3.1.2 97 07/20/2024
3.1.1 86 07/20/2024
3.1.0 95 07/20/2024
3.1.0-preview3.19553.2 105 07/20/2024
3.1.0-preview2.19525.4 93 07/20/2024
3.1.0-preview1.19506.1 99 07/20/2024
3.0.3 85 07/20/2024
3.0.2 91 07/20/2024
3.0.1 87 07/20/2024
3.0.0 99 07/20/2024
3.0.0-rc1.19456.10 86 07/20/2024
3.0.0-preview9.19423.4 95 07/20/2024
3.0.0-preview8.19405.4 92 07/20/2024
3.0.0-preview7.19362.4 100 07/20/2024
3.0.0-preview6.19304.6 95 07/20/2024
3.0.0-preview5.19227.9 94 07/20/2024
3.0.0-preview4.19216.2 92 07/20/2024
3.0.0-preview3.19153.1 100 07/20/2024
3.0.0-preview.19074.2 98 07/20/2024
3.0.0-preview.18572.1 92 07/20/2024
2.2.5 106 07/20/2024
2.2.0 83 07/20/2024
2.2.0-preview3-35497 87 07/20/2024
2.2.0-preview2-35157 94 07/20/2024
2.2.0-preview1-35029 91 07/20/2024
2.1.1 94 07/20/2024
2.1.0 82 07/20/2024
2.1.0-rc1-final 98 07/20/2024
2.1.0-preview2-final 80 07/20/2024
2.1.0-preview1-final 100 07/20/2024
2.0.2 101 07/20/2024
2.0.1 92 07/20/2024
2.0.0 86 07/20/2024
2.0.0-preview2-final 84 07/20/2024
2.0.0-preview1-final 99 07/20/2024
1.0.2 104 07/20/2024
1.0.1 96 07/20/2024
1.0.0 101 07/20/2024
1.0.0-preview1-final 94 07/20/2024