1 Reply Latest reply on May 8, 2009 10:02 AM by Brian Stansberry

    How to trace

    Larry Jiang Newbie


      I'm using JBoss4.0.3SP1(JGroup 2.2.7)
      I want to trace the information sending between nodes in my cluster.
      So I added the following code in my log4j.xml
      But there are no information in log file like node A receive a JOIN_REQ etc.
      No threshold in FILE appender..

      <category name="org.jboss.jgroups.protocols.TCPPING">
       <priority value="TRACE" class="org.jboss.logging.XLevel"/>
       <category name="org.jboss.jgroups.protocols.GMS">
       <priority value="TRACE" class="org.jboss.logging.XLevel"/>

      Can someone show any idea that how should I configure?

        • 1. Re: How to trace
          Brian Stansberry Master

          Your category names are wrong. Rule for figuring out the classname of a JGroups protocol from the name of it's config element in a protocol stack configuration is:

          org.jgroups.protocols. + element-name

          (Note there's no "jboss" in the package -- JGroups long predates it's association with JBoss.)

          For example: