Microsoft.Extensions.Logging.AzureAppServices 11.0.0-preview.6.26359.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.
154
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.
155
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.
157
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
153
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
161
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
173
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
165
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/2e51a0b6eba74bdf02aee71944e973487937cb99
154
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/458d97420a173fe87487b58ec4aa47a4c9dc4710
154
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
160
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
155
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/bd1e14b7d16b798de8a874189c89afed755a266c
153
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
166
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
161
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
170
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
156
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/36be7ed6d6d56b7da0a2891e3de7ecc2aa48eecd
157
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
153
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/a4938d07a5127ffad8466ddf703a6b5b21f4b0c9
161
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/b7a2ec8c7ed6b48857af0a69688a73e8c14fe6cb
155

.NET 11.0

.NET Standard 2.0

.NET Framework 4.6.2

Version Downloads Last updated
11.0.0-preview.6.26359.118 10 07/14/2026
11.0.0-preview.5.26302.115 20 06/09/2026
11.0.0-preview.4.26230.115 31 05/12/2026
11.0.0-preview.3.26207.106 35 04/14/2026
11.0.0-preview.2.26159.112 34 03/11/2026
11.0.0-preview.1.26104.118 40 02/11/2026
10.0.10 8 07/15/2026
10.0.9 17 06/09/2026
10.0.8 23 05/13/2026
10.0.7 36 04/21/2026
10.0.6 25 04/14/2026
10.0.5 33 03/14/2026
10.0.4 34 03/11/2026
10.0.3 36 02/11/2026
10.0.2 41 01/14/2026
10.0.1 63 12/11/2025
10.0.0 95 11/12/2025
10.0.0-rc.2.25502.107 96 10/15/2025
10.0.0-rc.1.25451.107 91 09/09/2025
10.0.0-preview.7.25380.108 111 08/14/2025
10.0.0-preview.6.25358.103 126 07/16/2025
10.0.0-preview.5.25277.114 107 06/06/2025
10.0.0-preview.4.25258.110 140 05/13/2025
10.0.0-preview.3.25172.1 126 04/12/2025
10.0.0-preview.2.25164.1 110 03/30/2025
10.0.0-preview.1.25120.3 128 03/30/2025
9.0.18 11 07/15/2026
9.0.17 16 06/09/2026
9.0.16 18 05/13/2026
9.0.15 31 04/14/2026
9.0.14 29 03/11/2026
9.0.13 31 02/11/2026
9.0.12 29 01/13/2026
9.0.11 70 11/12/2025
9.0.10 76 10/15/2025
9.0.9 90 09/09/2025
9.0.8 108 08/05/2025
9.0.7 109 07/09/2025
9.0.6 100 06/11/2025
9.0.5 118 05/14/2025
9.0.4 135 04/10/2025
9.0.3 118 03/30/2025
9.0.2 114 03/30/2025
9.0.1 122 03/30/2025
9.0.0 112 11/14/2024
9.0.0-rc.2.24474.3 129 10/21/2024
9.0.0-rc.1.24452.1 133 10/20/2024
9.0.0-preview.7.24406.2 118 08/21/2024
9.0.0-preview.6.24328.4 188 07/20/2024
9.0.0-preview.5.24306.11 131 07/20/2024
9.0.0-preview.4.24267.6 130 07/20/2024
9.0.0-preview.3.24172.13 135 07/20/2024
9.0.0-preview.2.24128.4 146 07/20/2024
9.0.0-preview.1.24081.5 159 07/20/2024
8.0.29 7 07/14/2026
8.0.28 19 06/09/2026
8.0.27 26 05/13/2026
8.0.26 34 04/14/2026
8.0.25 27 03/11/2026
8.0.24 34 02/11/2026
8.0.23 36 01/14/2026
8.0.22 76 11/12/2025
8.0.21 74 10/15/2025
8.0.20 98 09/09/2025
8.0.19 94 08/05/2025
8.0.18 100 07/09/2025
8.0.17 93 06/11/2025
8.0.16 124 05/14/2025
8.0.15 102 04/10/2025
8.0.14 111 03/29/2025
8.0.13 136 03/29/2025
8.0.12 113 03/29/2025
8.0.11 110 11/14/2024
8.0.10 129 10/22/2024
8.0.8 123 08/21/2024
8.0.7 152 07/20/2024
8.0.6 129 07/20/2024
8.0.5 140 07/20/2024
8.0.4 135 07/20/2024
8.0.3 124 07/20/2024
8.0.2 145 07/20/2024
8.0.1 127 07/20/2024
8.0.0 163 07/20/2024
8.0.0-rc.2.23480.2 133 07/20/2024
8.0.0-rc.1.23421.29 126 07/20/2024
8.0.0-preview.7.23375.9 150 07/20/2024
8.0.0-preview.6.23329.11 148 07/20/2024
8.0.0-preview.5.23302.2 139 07/20/2024
8.0.0-preview.4.23260.4 161 07/20/2024
8.0.0-preview.3.23177.8 123 07/20/2024
8.0.0-preview.2.23153.2 137 07/20/2024
8.0.0-preview.1.23112.2 126 07/20/2024
7.0.20 139 07/20/2024
7.0.19 144 07/20/2024
7.0.18 145 07/20/2024
7.0.17 136 07/20/2024
7.0.16 124 07/20/2024
7.0.15 141 07/20/2024
7.0.14 126 07/20/2024
7.0.13 124 07/20/2024
7.0.12 144 07/20/2024
7.0.11 158 07/20/2024
7.0.10 136 07/20/2024
7.0.9 123 07/20/2024
7.0.8 118 07/20/2024
7.0.7 127 07/20/2024
7.0.5 144 07/20/2024
7.0.4 147 07/20/2024
7.0.3 142 07/20/2024
7.0.2 155 07/20/2024
7.0.1 138 07/20/2024
7.0.0 124 07/20/2024
7.0.0-rc.2.22476.2 129 07/20/2024
7.0.0-rc.1.22427.2 138 07/20/2024
7.0.0-preview.7.22376.6 139 07/20/2024
7.0.0-preview.6.22330.3 131 07/20/2024
7.0.0-preview.5.22303.8 120 07/20/2024
7.0.0-preview.4.22251.1 130 07/20/2024
7.0.0-preview.3.22178.4 131 07/20/2024
7.0.0-preview.2.22153.2 142 07/20/2024
7.0.0-preview.1.22109.13 133 07/20/2024
6.0.36 133 11/14/2024
6.0.35 114 10/22/2024
6.0.33 124 08/21/2024
6.0.32 128 07/20/2024
6.0.31 161 07/20/2024
6.0.30 128 07/20/2024
6.0.29 128 07/20/2024
6.0.28 136 07/20/2024
6.0.27 135 07/20/2024
6.0.26 141 07/20/2024
6.0.25 119 07/20/2024
6.0.24 137 07/20/2024
6.0.23 128 07/20/2024
6.0.22 121 07/20/2024
6.0.21 126 07/20/2024
6.0.20 151 07/20/2024
6.0.19 120 07/20/2024
6.0.18 150 07/20/2024
6.0.16 144 07/20/2024
6.0.15 111 07/20/2024
6.0.14 145 07/20/2024
6.0.13 143 07/20/2024
6.0.12 114 07/20/2024
6.0.11 132 07/20/2024
6.0.10 153 07/20/2024
6.0.9 138 07/20/2024
6.0.8 165 07/20/2024
6.0.7 122 07/20/2024
6.0.6 147 07/20/2024
6.0.5 128 07/20/2024
6.0.4 152 07/20/2024
6.0.3 142 07/20/2024
6.0.2 123 07/20/2024
6.0.1 142 07/20/2024
6.0.0 119 07/20/2024
6.0.0-rc.2.21480.10 125 07/20/2024
6.0.0-rc.1.21452.15 149 07/20/2024
6.0.0-preview.7.21378.6 150 07/20/2024
6.0.0-preview.6.21355.2 122 07/20/2024
6.0.0-preview.5.21301.17 131 07/20/2024
6.0.0-preview.4.21253.5 125 07/20/2024
6.0.0-preview.3.21201.13 132 07/20/2024
6.0.0-preview.2.21154.6 127 07/20/2024
6.0.0-preview.1.21103.6 142 07/20/2024
5.0.17 155 07/20/2024
5.0.16 158 07/20/2024
5.0.15 130 07/20/2024
5.0.14 112 07/20/2024
5.0.13 137 07/20/2024
5.0.12 158 07/20/2024
5.0.11 146 07/20/2024
5.0.10 134 07/20/2024
5.0.9 153 07/20/2024
5.0.8 136 07/20/2024
5.0.7 118 07/20/2024
5.0.6 151 07/20/2024
5.0.5 130 07/20/2024
5.0.4 140 07/20/2024
5.0.3 139 07/20/2024
5.0.2 148 07/20/2024
5.0.1 119 07/20/2024
5.0.0 145 07/20/2024
5.0.0-rc.2.20475.17 127 07/20/2024
5.0.0-rc.1.20451.17 142 07/20/2024
5.0.0-preview.8.20414.8 146 07/20/2024
5.0.0-preview.7.20365.19 134 07/20/2024
5.0.0-preview.6.20312.15 133 07/20/2024
5.0.0-preview.5.20279.2 124 07/20/2024
5.0.0-preview.4.20257.10 125 07/20/2024
5.0.0-preview.3.20215.2 137 07/20/2024
5.0.0-preview.2.20160.3 122 07/20/2024
5.0.0-preview.1.20120.4 137 07/20/2024
3.1.32 163 07/20/2024
3.1.31 122 07/20/2024
3.1.30 128 07/20/2024
3.1.29 148 07/20/2024
3.1.28 121 07/20/2024
3.1.27 147 07/20/2024
3.1.26 105 07/20/2024
3.1.25 122 07/20/2024
3.1.24 127 07/20/2024
3.1.23 148 07/20/2024
3.1.22 125 07/20/2024
3.1.21 150 07/20/2024
3.1.20 123 07/20/2024
3.1.19 147 07/20/2024
3.1.18 119 07/20/2024
3.1.17 136 07/20/2024
3.1.16 128 07/20/2024
3.1.15 157 07/20/2024
3.1.14 129 07/20/2024
3.1.13 132 07/20/2024
3.1.12 124 07/20/2024
3.1.11 144 07/20/2024
3.1.10 143 07/20/2024
3.1.9 120 07/20/2024
3.1.8 126 07/20/2024
3.1.7 155 07/20/2024
3.1.6 136 07/20/2024
3.1.5 121 07/20/2024
3.1.4 144 07/20/2024
3.1.3 136 07/20/2024
3.1.2 130 07/20/2024
3.1.1 119 07/20/2024
3.1.0 138 07/20/2024
3.1.0-preview3.19553.2 148 07/20/2024
3.1.0-preview2.19525.4 142 07/20/2024
3.1.0-preview1.19506.1 136 07/20/2024
3.0.3 115 07/20/2024
3.0.2 129 07/20/2024
3.0.1 135 07/20/2024
3.0.0 130 07/20/2024
3.0.0-rc1.19456.10 124 07/20/2024
3.0.0-preview9.19423.4 153 07/20/2024
3.0.0-preview8.19405.4 134 07/20/2024
3.0.0-preview7.19362.4 158 07/20/2024
3.0.0-preview6.19304.6 146 07/20/2024
3.0.0-preview5.19227.9 145 07/20/2024
3.0.0-preview4.19216.2 129 07/20/2024
3.0.0-preview3.19153.1 144 07/20/2024
3.0.0-preview.19074.2 153 07/20/2024
3.0.0-preview.18572.1 119 07/20/2024
2.2.5 164 07/20/2024
2.2.0 122 07/20/2024
2.2.0-preview3-35497 130 07/20/2024
2.2.0-preview2-35157 128 07/20/2024
2.2.0-preview1-35029 120 07/20/2024
2.1.1 131 07/20/2024
2.1.0 121 07/20/2024
2.1.0-rc1-final 142 07/20/2024
2.1.0-preview2-final 117 07/20/2024
2.1.0-preview1-final 141 07/20/2024
2.0.2 131 07/20/2024
2.0.1 124 07/20/2024
2.0.0 122 07/20/2024
2.0.0-preview2-final 123 07/20/2024
2.0.0-preview1-final 142 07/20/2024
1.0.2 132 07/20/2024
1.0.1 136 07/20/2024
1.0.0 134 07/20/2024
1.0.0-preview1-final 126 07/20/2024