Hi,

I have configured my log4j.xml as

   <logger name="com.mchange.v2.c3p0">
      <priority value="DEBUG"/>
   </logger>
   <logger name="com.mchange.v2.log">
      <priority value="DEBUG"/>
   </logger>
   <logger name="com.mchange">
      <priority value="DEBUG"/>
   </logger>
   <logger name="com.mchange.v2.c3p0.impl">
      <priority value="DEBUG"/>
   </logger>

I am using hibernate on spring. I have set c3p0 properties in the sessionFactory bean as follows:
<bean id="sessionFactory"
        class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
        <property name="dataSource">
            <ref bean="dataSource" />
        </property>
        <property name="hibernateProperties">
            <props>
                <prop key="hibernate.dialect">
                    org.hibernate.dialect.MySQLInnoDBDialect
                </prop>
               
                <prop key="hibernate.connection.release_mode">after_statement</prop>
                <prop key="hibernate.c3p0.initial_pool_size">30</prop>
                <prop key="hibernate.c3p0.min_size">30</prop>
                <prop key="hibernate.c3p0.max_size">100</prop>
                <prop key="hibernate.c3p0.timeout">25200</prop>
                <prop key="hibernate.c3p0.max_statements">0</prop>
                <prop key="hibernate.c3p0.idle_test_period">100</prop>
                <prop key="hibernate.c3p0.test_connection_on_checkout">true</prop>
                <prop key="hibernate.c3p0.test_connection_on_checkin">true</prop>
                <prop key="hibernate.c3p0.preferredTestQuery">SELECT 1</prop>

            </props>
        </property>

Is this sufficient to activate c3p0 logging?
I am not even sure if c3p0 is being used at all. I have read about com.mchange.v2.c3p0.DEBUG set to false at the jar's compile time, but how do i know its value in my jar?

Thanks for any directions,
Samarth