This is an implementation of Log4j 2 API using the Equinox ExtendedLogService.
In plain words it makes all code that uses Log4j 2 API log to the Equinox .metadata/.log
log file. It does this by redirecting all the log messages to the Equinox ExtendedLogService
. This is mostly interesting for code that runs inside Eclipse RCP applications. This does not make Equinox use Log4j 2.
Simply deploy this along the Log4j 4 API bundle (org.apache.logging.log4j.api
).
We rely on OSGi Service Loader Mediator
If you want to build this project then you need Maven 3 and add the following section to your settings.xml
<profile>
<id>eclipse</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository>
<id>eclipse-32</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.32/</url>
</repository>
<repository>
<id>eclipse-28-local</id>
<url>file:///home/user/bin/eclipse/eclipse-4.32</url>
</repository>
</repositories>
</profile>