Thx. Adding the property : felix.log.level= 4 in config.properties file of Apache Felix Karaf helps me
It should be interesting to add it by default as non commented property in the file otherwise people have to dig Internet ??? Here is the result : DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytecode from com.springsource.org.hibernate DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf4j from com.springsource.org.hibernate Why such info is not provided to the console's user !!!! Surprisingly, using equinox as osgi platform on Apache Felix Karaf allow to bind the same Hibernate bundles without any issues !! Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm On Fri, Dec 4, 2009 at 11:59 AM, Guo Du <[email protected]> wrote: > On Fri, Dec 4, 2009 at 8:13 AM, Charles Moulliard <[email protected]> > wrote: > > I have tested with logging defined as DEBUG or TRACE but no particular > info > > has been reported in the log. > > > > For me, that was working before. > I tried one of my fragment bundle and it works on 2.0.0 and 2.0.1. > > If you provide log information, it may helps to identify the problem. > > You should see "DEBUG: FRAGMENT WIRE: 86.0 -> hosted by -> 89.0" if it > works. > > Otherwise, you should see something like: > DEBUG: Excluding fragment XXX from YYY due to conflict with imported > package ZZZ > > A question for framework developer not related to this mail: do we > need log the conflict as ERROR level message instead of DEBUG level? > Because when there is conflict happens, it means there are something > wrong and user need attention immediately instead of start a debug > session. There are a few mail conversation asked about fragment, our > response are always turn on debug log and see what happens. > > > -Guo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

