Thanks for the quick response.

we are extending the  org.apache.log4j.FileAppender and
org.apache.log4j.nt.NTEventLogAppender.
for now, my fragment pom file is using service as host bundle. 
<configuration>
          <instructions>
            <Bundle-Name>${project.artifactId}</Bundle-Name>
           
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
            <Bundle-Version>${project.version}</Bundle-Version>
            <Export-Package>com.good.gcs.core.logging</Export-Package>
            <Import-Package>!*</Import-Package>
           
<Fragment-Host>org.ops4j.pax.logging.pax-logging-service</Fragment-Host>
            <_failok>true</_failok>
          </instructions>
        </configuration>


So that means I should update my fragment-host to "pax-logging-log4j2" and
updated appender to log4j2 style?

what is the use of pax-logging-logback? Do i need to do anything with that
also? 




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Reply via email to