0 Replies Latest reply on Dec 21, 2005 11:38 PM by jack tie

    why only one appender work

    jack tie Newbie

      I use jboss cluster, so I want separate server.log and cluster.log.
      treat file and console appender as root.
      before I add cluster appender, every thing works fine. but after I add cluster appender, only cluster.log work, server.log is empty.
      are someone can help me out.
      Thank you very much

      source log4j.xml is in the following:
      <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
      <!-- Size based rolling appender -->

      <!-- -->











      <!-- -->











      <!-- -->









      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>




      <!-- Limit JBoss categories to INFO -->


      <appender-ref ref="FILE" />



      <appender-ref ref="FILE" />








      <appender-ref ref="CLUSTER"/>



      <appender-ref ref="CLUSTER"/>



      <appender-ref ref="CLUSTER"/>


      </log4j:configuration>