Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce diag.info when values are not required #5304

Open
codefromthecrypt opened this issue Jan 8, 2025 · 1 comment
Open

reduce diag.info when values are not required #5304

codefromthecrypt opened this issue Jan 8, 2025 · 1 comment

Comments

@codefromthecrypt
Copy link

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

@pichlermarc
Copy link
Member

Hi - yep i think we should not use info in that case.
Let's change it to debug - @codefromthecrypt would that solve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants