Skip to content

Can't disable ASP.NET Core Activity due to missing None log level #461

@OwnageIsMagic

Description

@OwnageIsMagic

https://github.com/dotnet/aspnetcore/blob/913ff28b8e834b51ded284118accebdaf85697a9/src/Hosting/Hosting/src/Internal/HostingApplicationDiagnostics.cs#L105

_logger.IsEnabled(LogLevel.Critical); condition is always true when using Serilog.

Previous issue about None closed with filter workaround, but it's not applicable here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions