Hi, In org.ops4j.pax.logging.cfg, add something like log4j.category.package.to.your.specific.component=DEBUG then you only have the log in package.to.your.specific.component as DEBUG level ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-5-2, at 下午2:28, sarfarajsayyad wrote: > I am using log4j.properties in all our components and i added that file under > src/main/resources. So for my component/bundle we are not referring > "org.ops4j.pax.logging". > > Normally we were doing same in apache tomcat. and to change for one of the > component we need to go to webapps folder. (like > tomcat-7.0.27\webapps\myapp\WEB-INF\classes\log4j.properties) and changed > there. It will affect to only that component not otheres. > > So I am looking for same in servicemix under > "apache-servicemix-4.5.1\data\cache\bundle44" but that file is not there. > > If this kind of facility is not provided in servicemix then how do i change > logging level to component/bundle level. Changing to "org.ops4j.pax.logging" > will affect for all in fact it can show servicemix debug logs too. > > /Sarfaraj > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/How-to-change-logging-level-for-particular-component-in-servicemix-tp5716633p5716635.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
