Microsoft.Extensions.Logging.AzureAppServices 11.0.0-preview.3.26207.106

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.
133
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.
134
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices.
131
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
151
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
142
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
135
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
139
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
135
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
131
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/c04846dc66cc97f71d83a83a15437828435f5d44
134
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
142
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
139
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
147
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
132
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
136
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
131
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
135
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
132
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
136
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
131

.NET Framework 4.6.2

.NET Standard 2.0

.NET 11.0

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