Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that at the moment the -Pit doesn't actually work, you have to try to start the server by hand

Logging conversion

When converting plugins make sure to avoid the following dependencies: log4j, jcl-over-slf4j,
jul-to-slf4j, slf4j-api, or slf4j-log4j12. Instead use pax-logging-api. This bundle exports all of these logging API.

Code Block

            <dependency>
                <groupId>org.ops4j.pax.logging</groupId>
                <artifactId>pax-logging-api</artifactId>              
            </dependency>

The pax-logging-api together with pax-logging-service provides a logging service in the OSGi environment that works with all commonly used logging API.