0 Replies Latest reply on Mar 19, 2004 3:43 AM by morenito9000

    Exclude logs from server.log

    morenito9000 Newbie

      Hi all,

      I defined an appender and a category in order to
      have my log messages saved in a file (/tmp/XMALF.log)

      < appender name="XMALFAPPENDER" class="org.apache.log4j.RollingFileAppender" >
      < param name="File" value="/tmp/XMALF.log"/ >
      < param name="Append" value="false"/ >

      < layout class="org.apache.log4j.PatternLayout" >
      < param name="ConversionPattern" value="%d %-5p [%c] %m%n"/ >
      < /layout >
      < /appender >

      < category name="XMALF" >
      < priority value="INFO" / >
      < appender-ref ref="XMALFAPPENDER"/ >
      < /category >

      Everything is well, except that log messages are saved
      in my log file and also in log/server.log file:
      how can i proceed if I don't want to save log messages
      in server.log file ?

      Many thanks in advance
      Moreno