Skip to content

Application Insights .NET SDK does not respect LogLevel.None #2666

@vmcbaptista

Description

@vmcbaptista

Repro steps:
Create an ASP.NET Core application with Application Insights configured.

Add a log like this: _logger.Log(LogLevel.None, "Do not show")

Actual behavior:

  • Log is sent to application insights and is visible in the query editor with severitylevel = 0

Expected behavior:

  • Log is not sent to application insights

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions