-
Notifications
You must be signed in to change notification settings - Fork 782
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
[Logs] Make Logging pipeline extensible to allow plugging in a custom logger provider #3088
Comments
Once #2864 is merged, it'll allow a good amount of customization. (It wont be part of the coming 1.2 stable). There is a fairly involved refactoring done to fix some core issues with the way OpenTelemetryLoggerProvider "buffers" state, in this PR #3056 as well. We should wait for this to settle 1st before any changes to logging, as this is a significant improvement, and has impact on Exporters like OTLP as well. |
I was also looking into creating a Serilog sink for |
@Falco20019 howdy! Did you end up doing further work on a Serilog OTLP Sink? It looks like that while |
No, I didn't follow up since I had to drop support for OTEL all together since it was not supporting Xamarin.Android. I might have another look the next months since it seems to work better with net6.0-android and becomes more interesting through that. The current plan is to look into OTLP for our release in January. |
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day. |
Closed as inactive. Feel free to reopen if this issue is still a concern. |
Feature Request
Make Logging pipeline extensible to allow plugging in custom logger provider.
Is your feature request related to a problem?
Currently LogRecord constructor is internal and not exposed which limits the ability for consumers to plug in custom logger provider. This is very restrictive and doesn't go with the OpenTelemetry's open architecture where it allows extensibility points throughout the pipeline e.g. you can plug in your exporter, your processor etc. We need the ability to plug in our custom logger provider so we can introduce additional functionality needed for our customers. One such example is adding a framework that lets customers enrich the logs or doing some custom transformation inside logger etc.
Describe the solution you'd like:
We would like the ability to plug in custom logger. There are 2 ways you can do that
Describe alternatives you've considered.
We would definitely want to avoid forking the codebase.
Additional Context
The text was updated successfully, but these errors were encountered: