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

add console definition for log record exporter #84

Merged

Conversation

codeboten
Copy link
Contributor

This is consistent with the other signals.

This is consistent with the other signals.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from a team April 25, 2024 20:57
# Configure exporter.
exporter:
# Configure exporter to be console.
console: {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its consistent but the console exporter for logs can be tricky to avoid circular loops:
Log framework -> Otel Log Bridge API -> Otel Log SDK -> Console Exporter -> Log Framework ->

Maybe we don't need to worry about that for the sake of config. Its tricky to get right, but still possible to configure.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, to be clear this was possible to configure even before this change :) we just didnt have a console section in the log record exporter called out specifically

@codeboten codeboten merged commit 834ae3c into open-telemetry:main Apr 25, 2024
2 checks passed
@codeboten codeboten deleted the codeboten/add-console-logger branch April 25, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants