2 Replies Latest reply on Sep 26, 2014 3:21 AM by dalbani

    How to enable DEBUG logging for ModeShape running in Wildfly

    dalbani

      Hello,

       

      I'm trying to track some kind of bug / issue in the Infinispan binary store implementation in ModeShape.

      But I couldn't find a way to enable logging at DEBUG level, so I can see what is the activity of the InfinispanBinaryStore class.

      In the standalone XML configuration file, I've added everything I could think of:

       

       

      <logger category="org.modeshape">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr.value">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr.value.binary">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr.value.binary.AbstractBinaryStore">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr.value.binary.infinispan">
          <level name="DEBUG"/>
      </logger>
      <logger category="org.modeshape.jcr.value.binary.infinispan.InfinispanBinaryStore">
          <level name="DEBUG"/>
      </logger>
      

       

      I now indeed have a more verbose logging in log/server.log but there isn't the InfinispanBinaryStore calls I'm interested in.

      I'm running Wildfly 8.1 by the way.

       

      Thanks.