Hello With https://ops4j1.jira.com/browse/PAXLOGGING-262 I added Karaf (4.2.6) test support to Pax Logging.
As guessed, it was tricky: - custom Karaf distro had to be prepared to contain pax-logging bundles from current reactor - logging configuration for pax-exam-container-karaf forked by maven-failsafe-plugin and forking another (3rd) JVM with Karaf itself has to be careful Some findings/highlights: - I created very slim pax-exam configuration for custom Karaf distro built just before the integration tests (separate Maven artifact) - there are no conflicts between logging from Maven, logging from forked pax-exam and forked Karaf - default service log provided by pax-logging-api (even before it starts! just after it resolves) works like a charm - bundle started BEFORE pax-logging-api can successfully log through SLF4J API I described the details in https://github.com/ops4j/org.ops4j.pax.logging/tree/paxlogging-1.11.x#testing-in-karaf best regards Grzegorz Grzybek -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAAdXmhq8b3y-fPtJOBaf15%2BNOFPEQK%3DxrCpXHMn4L2ZHwkXNuw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
