logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/tests/input/performance null-appender.xml
Date Mon, 06 Sep 2004 17:25:58 GMT
ceki        2004/09/06 10:25:58

  Modified:    tests/input/performance null-appender.xml
  Log:
  let the config file null-appender.xml vary according to the ${pattern} property
  
  Revision  Changes    Path
  1.2       +9 -2      logging-log4j/tests/input/performance/null-appender.xml
  
  Index: null-appender.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/input/performance/null-appender.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- null-appender.xml	6 Sep 2004 14:46:01 -0000	1.1
  +++ null-appender.xml	6 Sep 2004 17:25:57 -0000	1.2
  @@ -1,10 +1,17 @@
   <?xml version="1.0" encoding="UTF-8" ?>
   
  -<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
  +<log4j:configuration>
   
     <appender name="NULL" class="org.apache.log4j.performance.NullAppender">
       <layout class="org.apache.log4j.PatternLayout">
  -      <param name="ConversionPattern" value="%p - %m%n"/>
  +      <param name="ConversionPattern" value="${pattern}"/>
  +    </layout>
  +  </appender>
  +
  +  <appender name="F" class="org.apache.log4j.FileAppender">
  +     <param name="File" value="x.log"/>
  +    <layout class="org.apache.log4j.PatternLayout">
  +      <param name="ConversionPattern" value="${pattern}"/>
       </layout>
     </appender>
     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message