Microsoft.Extensions.Logging.AzureAppServices 11.0.0-preview.1.26104.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.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.
117
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.
122
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/1016eae4004686f7fdad13f5c329f63bbae1f3a1
116
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
119
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source at: https://github.com/aspnet/AzureIntegration/tree/5dba26f8fbe5c4979ee6a7b6a13cf30fc4c4c270
117
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/0c26925a185ba2996051c0f37a995ef0a682cf54
123
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/1bf292d47ac2a0ebda07d8a3f00355dd01915ad5
120
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/509f6badec2f3162f0e50330cd9107e5624b379b
122
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/67e04394e98d5bfa6a5684d471a72fcbe30fd587
119
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
117
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
124
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
128
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
130
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
123
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/3b519aa7d1a1b66e1d329d694f814e1d8228dc8c
118
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
117
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/8e941eb42f819adb116b881195158b3887a70a1c
118
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
123
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
121

.NET Framework 4.6.2

.NET Standard 2.0

.NET 11.0

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