[ 
https://issues.apache.org/jira/browse/LOG4J2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563371#comment-17563371
 ] 

ASF subversion and git services commented on LOG4J2-3546:
---------------------------------------------------------

Commit f5b5d0b922e164117b732ceffe0313a2424c980f in logging-log4j2's branch 
refs/heads/dependabot/maven/com.conversantmedia-disruptor-1.2.20 from Piotr P. 
Karwasz
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=f5b5d0b922 ]

[LOG4J2-3546] Switch from `osgi.serviceloader` to `Activator`

Switches `log4j-to-slf4j` and `log4j-to-jul` from using the Service
Loader Mediator to registering their provider themselves. This way they
can be used in minimal OSGI systems.

Newer tests in `log4j-osgi` are written using PAX Exam in order to
provide a larger OSGI environment.

> log4j-to-slf4j does not support osgi
> ------------------------------------
>
>                 Key: LOG4J2-3546
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3546
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Tiberiu Adrian Carp
>            Assignee: Piotr Karwasz
>            Priority: Minor
>             Fix For: 2.18.1
>
>
> osgi is supported by 
> [log4j-core|https://github.com/apache/logging-log4j2/tree/release-2.x/log4j-core],
>  but not by 
> [log4j-to-slf4j.|https://github.com/apache/logging-log4j2/tree/release-2.x/log4j-to-slf4j]
> In the 
> [log4j-core|https://github.com/apache/logging-log4j2/tree/release-2.x/log4j-core],
>  it can be seen the [OSGi 
> Activator|https://github.com/apache/logging-log4j2/blob/release-2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/osgi/Activator.java]
>  , which does not exist in the 
> [log4j-to-slf4j|https://github.com/apache/logging-log4j2/tree/release-2.x/log4j-to-slf4j]
>  .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to