Skip to content

reduce diag.info when values are not required #5304

@codefromthecrypt

Description

@codefromthecrypt

Is your feature request related to a problem? Please describe.

Right now, when I use the default exporter, for logs traces and metrics, I get a couple console statements from diag.info

OTEL_LOGS_EXPORTER is empty. Using default otlp exporter.
OTEL_TRACES_EXPORTER is empty. Using default otlp exporter.

It is frustrating to have to see this as it discourages using defaults. You might try to do something else just to get rid of the output.

Describe the solution you'd like

I would like to not see things in console output about using defaults, and not have to adjust diag settings to do so.

Describe alternatives you've considered

there are also some glitches trying to set the level from info to warning to avoid the same. Looks like this:

Current logger will be overwritten from Error
--snip
Current logger will overwrite one already registered from Error
--snip

Additional context

related issue about undesired output when attempting to change the diag level to warning #4447

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