Skip to content

add a feature gate that disables the tee'ing of the logs. #13019

Open
@codeboten

Description

@codeboten

#10544 gave users the ability to emit logs over OTLP as well as the console, there was a comment in the PR to add a feature gate to disable dual writing. This issue tracks the word needed to add this feature gate

          This PR gives users the option to start producing logs over OTLP, without breaking existing functionality. I would suggest we follow up this PR with a feature gate that disables the tee'ing of the logs.

This would give users that don't want to double emit the logs to turn off the local console logging if a provider is configured. This could become the default in the future if users support this idea.

One thing to note is that configuration of the logging today supports sampling logs, which the otel logging provider has no concept of at this time

Originally posted by @codeboten in #10544 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions