Hi, You shouldn't configure log4j stuff in your customer bundle, all logging should be delegated to OPS4J PAX-LOGGING OSGI logging service, that said, you should configure log4j in $KARAF_HOME/etc/org.ops4j.pax.logging.cfg ------------- 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小屋 www.camelone.org : The open source integration conference: On 2013-5-11, at 上午3:02, Clement Jebakumar wrote: > > I have a karaf custom build which has some 12 bundles. And have configured > log4j in some of the bundles. > > I can see one of the bundle issuing the warning 'log4j:WARN No appenders > could be found for logger" > > Other bundles works fine and logs go to the karaf.log file. Facing the issue > with only one bundle. > > How to fix it. As far as i know, i didnt do any special configurations. > > Clement Jebakumar, > 111/27 Keelamutharamman Kovil Street, > Tenkasi, 627 811 > http://www.declum.com/clement.html
