Hi,

no need to deal with logback (that's another layer).

Correct for log4j2 attachment & style.

Regards
JB

On 03/02/2018 10:20 AM, munishgupta.asr wrote:
> 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
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to