ops4j / org.ops4j.pax.swissbox

Other
10 stars 12 forks source link

Use SLF4J instead of java.util.logging.Logger [PAXSB-74] #84

Closed ops4j-issues closed 10 years ago

ops4j-issues commented 11 years ago

Christoph Läubrich created PAXSB-74

It seems that slf4j is the standard in OPS4J PAX but swissbox uses java.util.logging.

Is there any reason not to upgrade to slf4j?


Fixed in: 1.7.1 Votes: 0, Watches: 2

ops4j-issues commented 10 years ago

Harald Wellmann commented

The only place where Swissbox uses java.util.logging is RemoteFrameworkImpl. This is intentional to simplify classpath setup for a background Java process running this class and its dependencies (e.g. spawned by Pax Exam Forked Container).

Using SLF4J, it's not trivial to build the correct classpath, as the SLF4J backend is not known at compile time, and the runtime backend may have additional classpath dependencies.