Hello Achim!
With your help in [1], I got also my custom Layout working. Thank you very
much for your help. It's really appreciated.
For all others, I did the following changes:
1) I changed ${karaf.root}/etc/startup.properties from:
-- snip --
org/ops4j/pax/logging/pax-logging-api/1.6.3/pax-logging-api-1.6.3.jar=8
org/ops4j/pax/logging/pax-logging-service/1.6.3/pax-logging-service-1.6.3.jar=8
-- snap --
to:
-- snip --
org/apache/cmueller/logging/log4j-layout/1.0.0/log4j-layout-1.0.0.jar=8
org/ops4j/pax/logging/pax-logging-api/1.6.3/pax-logging-api-1.6.3.jar=8
org/ops4j/pax/logging/pax-logging-service/1.6.3/pax-logging-service-1.6.3.jar=8
-- snap --
2) I changes my maven-bundle-plugin configuration to:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.5</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Import-Package>!*</Import-Package>
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
<Fragment-Host>org.ops4j.pax.logging.pax-logging-service;bundle-version="[1.6,1.7)"</Fragment-Host>
<Implementation-Version>${project.version}</Implementation-Version>
</instructions>
</configuration>
</plugin>
You can find my sample project attached to the JIRA in [2].
[1] https://github.com/ANierbeck/CustomAppender
[2] http://team.ops4j.org/browse/PAXLOGGING-114
Best,
Christian
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general