Skip to content

Can OpenTelemetry .NET SDK require 6.0 version of Microsoft.Extensions.Logging? #3205

@reyang

Description

@reyang

Previously we cannot because we have to support version 2.1.

Now we don't need to support 2.1 anymore, can we follow what's been done for System.Diagnostics.DiagnosticSource, considering the general guidance from the .NET team:

  • You SHOULD use the latest stable version whenever possible, regardless of which version of runtime you are using.
  • If you are using version 3.1.x ILogger, upgrade to the latest stable version. There shouldn't be breaking changes.
  • If you are using version 1.x, 2.x or 3.0.x ILogger, upgrade to the latest stable version since these versions are no longer supported, except for the special case below:
    • If you have existing dependency on version 2.1.x ILogger, and you are running ASP.NET Core 2.1 application on .NET Framework, use the latest patch version in the 2.1.x line until you're ready to move away from ASP.NET Core 2.1.

<MicrosoftExtensionsLoggingPkgVer>[3.1.0,)</MicrosoftExtensionsLoggingPkgVer>

<SystemDiagnosticSourcePkgVer>6.0.0</SystemDiagnosticSourcePkgVer>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlogsLogging signal related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions