Skip to content

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

Closed

Description

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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