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

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
32
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
34
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
35
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
36
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
38
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.
31
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.
32
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.
33
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.
34
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.
35
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.
36
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/50b7e9c661453874aa7a54a3985d5120564bb2e5
32
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/da7e9894ce22ef8cc02e5acc56e95a6f8cf8f644
32

.NET 11.0

.NET Standard 2.0

.NET Framework 4.6.2

Version Downloads Last updated
11.0.0-preview.7.26381.103 1 08/12/2026
11.0.0-preview.6.26359.118 6 07/23/2026
11.0.0-preview.5.26302.115 7 06/12/2026
11.0.0-preview.4.26230.115 4 05/23/2026
11.0.0-preview.3.26207.106 7 05/02/2026
11.0.0-preview.2.26159.112 11 03/11/2026
11.0.0-preview.1.26104.118 8 02/17/2026
10.0.11 0 08/11/2026
10.0.10 2 07/23/2026
10.0.9 3 06/15/2026
10.0.8 12 05/22/2026
10.0.7 4 05/02/2026
10.0.6 4 05/02/2026
10.0.5 9 03/14/2026
10.0.4 7 03/11/2026
10.0.3 9 02/18/2026
10.0.2 10 01/16/2026
10.0.1 10 12/11/2025
10.0.0 20 11/13/2025
10.0.0-rc.2.25502.107 14 10/20/2025
10.0.0-rc.1.25451.107 14 09/10/2025
10.0.0-preview.7.25380.108 16 08/21/2025
10.0.0-preview.6.25358.103 20 07/20/2025
10.0.0-preview.5.25277.114 19 06/07/2025
10.0.0-preview.4.25258.110 21 05/17/2025
10.0.0-preview.3.25172.1 20 04/19/2025
10.0.0-preview.2.25164.1 20 03/20/2025
10.0.0-preview.1.25120.3 25 02/25/2025
9.0.19 0 08/11/2026
9.0.18 2 07/21/2026
9.0.17 8 06/15/2026
9.0.16 4 05/22/2026
9.0.15 8 05/02/2026
9.0.14 9 03/11/2026
9.0.13 9 02/16/2026
9.0.12 14 01/17/2026
9.0.11 15 11/13/2025
9.0.10 13 10/22/2025
9.0.9 15 09/11/2025
9.0.8 15 08/07/2025
9.0.7 15 07/20/2025
9.0.6 17 06/13/2025
9.0.5 22 05/17/2025
9.0.4 18 04/19/2025
9.0.3 19 03/20/2025
9.0.2 22 02/26/2025
9.0.1 21 01/18/2025
9.0.0 22 03/05/2025
9.0.0-rc.2.24474.3 23 12/08/2024
9.0.0-rc.1.24452.1 23 10/05/2024
9.0.0-preview.7.24406.2 22 02/14/2025
9.0.0-preview.6.24328.4 17 10/05/2024
9.0.0-preview.5.24306.11 16 03/05/2025
9.0.0-preview.4.24267.6 20 01/18/2025
9.0.0-preview.3.24172.13 18 10/05/2024
9.0.0-preview.2.24128.4 25 03/28/2024
9.0.0-preview.1.24081.5 20 03/17/2024
8.0.30 0 08/11/2026
8.0.29 2 07/21/2026
8.0.28 3 06/15/2026
8.0.27 4 05/22/2026
8.0.26 6 05/02/2026
8.0.25 14 03/11/2026
8.0.24 10 02/17/2026
8.0.23 10 01/17/2026
8.0.22 16 11/13/2025
8.0.21 15 10/23/2025
8.0.20 21 09/11/2025
8.0.19 18 08/07/2025
8.0.18 17 07/20/2025
8.0.17 18 06/13/2025
8.0.16 22 06/14/2025
8.0.15 26 04/19/2025
8.0.14 19 03/20/2025
8.0.13 23 02/19/2025
8.0.12 23 01/19/2025
8.0.11 19 01/19/2025
8.0.10 19 12/14/2024
8.0.8 22 01/04/2025
8.0.7 19 12/01/2024
8.0.6 23 10/05/2024
8.0.5 22 10/05/2024
8.0.4 26 12/27/2024
8.0.3 21 03/28/2024
8.0.2 26 03/16/2024
8.0.1 20 03/15/2024
8.0.0 20 03/07/2024
8.0.0-rc.2.23480.2 27 11/24/2023
8.0.0-rc.1.23421.29 24 03/11/2024
8.0.0-preview.7.23375.9 28 03/05/2025
8.0.0-preview.6.23329.11 22 03/11/2024
8.0.0-preview.5.23302.2 21 03/11/2024
8.0.0-preview.4.23260.4 24 03/27/2024
8.0.0-preview.3.23177.8 23 03/11/2024
8.0.0-preview.2.23153.2 27 03/11/2024
8.0.0-preview.1.23112.2 21 03/10/2024
7.0.20 21 10/05/2024
7.0.19 27 10/05/2024
7.0.18 18 02/19/2025
7.0.17 22 03/28/2024
7.0.16 26 03/15/2024
7.0.15 25 03/16/2024
7.0.14 22 03/15/2024
7.0.13 22 03/07/2024
7.0.12 24 03/08/2024
7.0.11 21 03/07/2024
7.0.10 24 03/22/2024
7.0.9 22 03/08/2024
7.0.8 23 11/21/2023
7.0.7 22 03/16/2024
7.0.5 28 03/16/2024
7.0.4 20 11/21/2023
7.0.3 22 03/08/2024
7.0.2 21 03/08/2024
7.0.1 26 03/15/2024
7.0.0 25 03/07/2024
7.0.0-rc.2.22476.2 20 03/09/2024
7.0.0-rc.1.22427.2 22 03/08/2024
7.0.0-preview.7.22376.6 26 03/11/2024
7.0.0-preview.6.22330.3 23 03/10/2024
7.0.0-preview.5.22303.8 22 03/14/2024
7.0.0-preview.4.22251.1 20 10/05/2024
7.0.0-preview.3.22178.4 18 01/02/2025
7.0.0-preview.2.22153.2 17 03/05/2025
7.0.0-preview.1.22109.13 22 03/16/2024
6.0.36 21 01/19/2025
6.0.35 21 01/18/2025
6.0.33 23 10/05/2024
6.0.32 20 02/19/2025
6.0.31 20 02/19/2025
6.0.30 17 02/19/2025
6.0.29 19 10/05/2024
6.0.28 25 03/27/2024
6.0.27 24 03/18/2024
6.0.26 23 03/17/2024
6.0.25 28 03/11/2024
6.0.24 22 03/16/2024
6.0.23 24 11/21/2023
6.0.22 20 11/24/2023
6.0.21 22 03/16/2024
6.0.20 33 03/08/2024
6.0.19 26 03/08/2024
6.0.18 27 11/21/2023
6.0.16 20 03/08/2024
6.0.15 24 03/08/2024
6.0.14 26 03/08/2024
6.0.13 28 03/15/2024
6.0.12 22 03/08/2024
6.0.11 22 03/15/2024
6.0.10 27 03/16/2024
6.0.9 27 03/16/2024
6.0.8 21 03/16/2024
6.0.7 27 03/17/2024
6.0.6 23 03/09/2024
6.0.5 21 03/17/2024
6.0.4 26 03/17/2024
6.0.3 30 03/28/2024
6.0.2 20 03/17/2024
6.0.1 19 03/17/2024
6.0.0 31 03/17/2024
6.0.0-rc.2.21480.10 20 03/02/2025
6.0.0-rc.1.21452.15 19 03/09/2024
6.0.0-preview.7.21378.6 19 03/10/2024
6.0.0-preview.6.21355.2 25 03/10/2024
6.0.0-preview.5.21301.17 20 03/18/2024
6.0.0-preview.4.21253.5 16 03/18/2024
6.0.0-preview.3.21201.13 21 03/18/2024
6.0.0-preview.2.21154.6 13 06/30/2025
6.0.0-preview.1.21103.6 24 03/10/2024
5.0.17 25 02/19/2025
5.0.16 21 02/19/2025
5.0.15 27 11/21/2023
5.0.14 25 02/28/2024
5.0.13 20 03/15/2024
5.0.12 26 11/21/2023
5.0.11 21 03/15/2024
5.0.10 22 03/17/2024
5.0.9 22 02/27/2024
5.0.8 24 11/19/2023
5.0.7 27 03/16/2024
5.0.6 19 03/28/2024
5.0.5 25 03/17/2024
5.0.4 29 03/15/2024
5.0.3 23 03/16/2024
5.0.2 21 03/17/2024
5.0.1 23 03/17/2024
5.0.0 23 03/17/2024
5.0.0-rc.2.20475.17 20 03/14/2024
5.0.0-rc.1.20451.17 20 03/19/2024
5.0.0-preview.8.20414.8 26 02/28/2024
5.0.0-preview.7.20365.19 22 03/17/2024
5.0.0-preview.6.20312.15 15 03/05/2025
5.0.0-preview.5.20279.2 20 03/02/2024
5.0.0-preview.4.20257.10 22 03/17/2024
5.0.0-preview.3.20215.2 31 03/11/2024
5.0.0-preview.2.20160.3 18 10/05/2024
5.0.0-preview.1.20120.4 25 11/23/2023
3.1.32 25 03/08/2024
3.1.31 20 03/17/2024
3.1.30 25 11/21/2023
3.1.29 23 03/08/2024
3.1.28 23 03/17/2024
3.1.27 29 03/08/2024
3.1.26 27 03/17/2024
3.1.25 23 03/28/2024
3.1.24 24 03/17/2024
3.1.23 19 03/17/2024
3.1.22 23 03/17/2024
3.1.21 21 03/17/2024
3.1.20 30 11/25/2023
3.1.19 25 03/15/2024
3.1.18 29 03/02/2024
3.1.17 21 03/17/2024
3.1.16 29 11/19/2023
3.1.15 27 03/17/2024
3.1.14 24 03/17/2024
3.1.13 21 11/22/2023
3.1.12 25 03/06/2024
3.1.11 23 03/16/2024
3.1.10 21 03/22/2024
3.1.9 21 03/15/2024
3.1.8 22 03/15/2024
3.1.7 21 03/16/2024
3.1.6 20 03/08/2024
3.1.5 31 03/08/2024
3.1.4 24 03/15/2024
3.1.3 24 03/16/2024
3.1.2 24 03/16/2024
3.1.1 20 10/05/2024
3.1.0 22 11/24/2023
3.1.0-preview3.19553.2 19 03/11/2024
3.1.0-preview2.19525.4 20 03/14/2024
3.1.0-preview1.19506.1 20 03/17/2024
3.0.3 28 03/16/2024
3.0.2 19 03/08/2024
3.0.1 27 03/15/2024
3.0.0 26 11/19/2023
3.0.0-rc1.19456.10 19 03/02/2024
3.0.0-preview9.19423.4 20 03/10/2024
3.0.0-preview8.19405.4 19 03/05/2025
3.0.0-preview7.19362.4 29 11/20/2023
3.0.0-preview6.19304.6 25 03/16/2024
3.0.0-preview5.19227.9 21 03/14/2024
3.0.0-preview4.19216.2 25 03/16/2024
3.0.0-preview3.19153.1 25 03/15/2024
3.0.0-preview.19074.2 22 03/16/2024
3.0.0-preview.18572.1 22 03/11/2024
2.2.5 25 03/07/2024
2.2.0 23 11/22/2023
2.2.0-preview3-35497 25 03/06/2024
2.2.0-preview2-35157 26 11/22/2023
2.2.0-preview1-35029 30 11/23/2023
2.1.1 21 03/17/2024
2.1.0 24 03/08/2024
2.1.0-rc1-final 21 03/17/2024
2.1.0-preview2-final 25 11/22/2023
2.1.0-preview1-final 18 01/19/2025
2.0.2 26 03/09/2024
2.0.1 25 03/15/2024
2.0.0 27 03/19/2024
2.0.0-preview2-final 26 03/15/2024
2.0.0-preview1-final 22 03/16/2024
1.0.2 27 11/25/2023
1.0.1 24 03/16/2024
1.0.0 24 03/08/2024
1.0.0-preview1-final 18 03/19/2024