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
OSGi compatibility #358
Comments
Hey @alexandrul, you're the first person to ask for this and I'm pretty unfamiliar with OSGi. Do you know much about it? Can you identify any of the ways that |
I have no idea, just that our app needs it. This section from logstash-logback-encoder's pom.xml seems to specify some mandatory details: https://github.com/logstash/logstash-logback-encoder/blob/master/pom.xml
|
Thanks, can you tell me what application server or framework (or something else?) you are using so that I can try to test this stuff out for myself? I'm pretty clueless here. 😄 |
I'm using an internal application that in turn uses an internal application container with some roots in Karaf (I think). For error aggregation I have started with logstash-logback-encoder, which required only two things:
For sentry-java I was able to find a workaround by using a wrapper that makes it a logback fragment, this operation being required for every new release. OSGi compatibility would make it a lot easier to use, in my particular case. |
While this issue has been solved in 1.7, we currently do not support OSGI in 3.x. |
Since this was raised over 3 years ago, I wonder what's the priority today. |
@bruno-garcia If there aren't at least "n" requests for it, I guess you can just ignore it (where "n" is chosen by you based on the popularity of the other enhancements). |
We're gonna close this as there was not activity for 2 years. Please feel free to reopen if there's still a demand. |
I still use it daily from OSGi - basically we're just wrapping sentry and wiring it up to the OSGi LogService. But it would be good to have the imports/exports back again at a minimum. |
Is it possible to add the OSGi compatibility?
For an internal app I was able to use https://github.com/logstash/logstash-logback-encoder without any issues, but for raven-logback all my attempts of wrapping it are ending with:
The text was updated successfully, but these errors were encountered: