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

Piotr Karwasz commented on LOG4J2-3546:
---------------------------------------

Hi [~tiby01],

not every OSGI bundle require an activator. The current versions of 
{{log4j-to-slf4j}} and {{log4j-to-jul}} rely on the [Service Loader 
Mediator](http://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.loader.html)
 service to publish their services in an 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: Bug
>            Reporter: Tiberiu Adrian Carp
>            Assignee: Piotr Karwasz
>            Priority: Major
>
> 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