Hi Ralph, On Sat, 2 Apr 2022 at 11:02, Ralph Goers <[email protected]> wrote: > > Ok. But what does that mean with regard to the 3 options Piotr listed?
Declarative Services is backward compatible, so if someone declares a provider using DS, it will be detected by our current logic. Since we want (do we?) to maintain compatibility with OSGI runtimes without DS, we should not use DS directly in our code, but we can use it in documentation as a rapid way to add OSGI support to a jar of user custom components. I added OSGI services lookup to my `ServiceLoaderUtil` PR (https://github.com/apache/logging-log4j2/pull/804) and it can detect both services registered manually and through DS. Piotr
