Working solution discovered in experiments.
Any comments will be appreciated.
Get pax-logging-api and pax-logging-service bundles and put in your target platform.
org.eclipse.equinox.cm
from CVS::pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
equinox-incubator/org.eclipse.equinox.cm
org.knopflerfish.bundle.cm
- cm_all-2.0.0.jar
in your target platform dirpropsloader
configurations
and nested factories
and services
services
dir create file org.ops4j.pax.logging.properties
with setting in Log4j properties format, for example:
log4j.rootLogger=DEBUG, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout #default layout: #log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%-30.30t] %-40.40c %x - %m%n log4j.logger.org.springframework.osgi=DEBUG log4j.logger.org.springframework=INFO log4j.logger.org.apache.wicket=INFO log4j.logger.org.mortbay=INFO log4j.logger.org.apache.wicket.util.thread=INFO log4j.logger.org.compass.core.lucene.engine.optimizer.ScheduledLuceneSearchEngineOptimizer=INFO log4j.logger.org.springframework.osgi.extender.internal.support.NamespaceManager=INFO log4j.logger.org.springframework.osgi.extender.internal.support.NamespacePlugins=INFO |
org.eclipse.equinox.cm |
org.ops4j.pax.logging.* org.ops4j.pax.confman.propsloader |
org.ops4j.pax.logging.properties
file and from osgi console update org.ops4j.pax.confman.propsloader
bundle.