Skip to content

Log level per exporter? #5766

@gintarasd-bentley

Description

@gintarasd-bentley

What is the question?

Hello, is there a way to configure log levels per exporter?

Additional context

We want to send:

  • All logs to destination A
  • Error only logs to destination B

For ASP.NET Logging -> Logging provider, log levels can be configured like so:

{
  "Logging": {
    "ProviderA": {
      "LogLevel": {
        "Default": "Information"
      }
    },
    "ProviderB": {
      "LogLevel": {
        "Default": "Error"
      }
    }
  }
}

For OpenTelemetry logging provider -> Exporter however, I could not find anything similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions