This content has been marked as final.
Show 3 replies
-
1. Re: Override of a log4j appender : where should I add the class in my Fuse ?
ffang Jul 17, 2012 7:52 PM (in response to vmahe)Hi,
Basically you need put your customer append into a fragment bundle and append the fragment bundle to org.ops4j.pax.logging.pax-logging-service(pax-logging-service play the role as a host bundle)
Take a look at to get more details, the "Using your own appenders" chapter
http://karaf.apache.org/manual/latest-2.2.x/users-guide/logging-system.html
Freeman
-
2. Re: Override of a log4j appender : where should I add the class in my Fuse ?
vmahe Jul 18, 2012 3:14 AM (in response to ffang)Thank you freeman for this reply.
Could you send me some sample pom.xml Maven file which would enable me to generate this kind of bundle ?
Regards,
Vincent
-
3. Re: Override of a log4j appender : where should I add the class in my Fuse ?
ffang Jul 18, 2012 3:27 AM (in response to vmahe)Hi,
I don't have a complete one at hand, but the key point is add Fragment-Host for maven-bundle-plugin, something just like
$
and you can google to get more details.
Freeman