karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "munishgupta.asr" <munishgupta....@gmail.com>
Subject Re: KARAF 4.1.5 & pax-logging-service
Date Fri, 02 Mar 2018 09:20:09 GMT
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

Mime
View raw message