You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by ce...@apache.org on 2002/03/25 00:41:56 UTC

cvs commit: jakarta-log4j/tests/witness customLevel.4

ceki        02/03/24 15:41:56

  Added:       tests/input/xml customLevel4.xml
               tests/witness customLevel.4
  Log:
  An additional test case input xml and witness files
  
  Revision  Changes    Path
  1.1                  jakarta-log4j/tests/input/xml/customLevel4.xml
  
  Index: customLevel4.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  
  <log4j:configuration debug="true" 
                       xmlns:log4j='http://jakarta.apache.org/log4j/'>
  
    <appender name="TEMP" class="org.apache.log4j.FileAppender">
      <param name="Append" value="false" />
      <param name="File"   value="output/temp" />
      <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern"
  	value="%-5p %c{2} - %m\n"/>
      </layout>
    </appender>
  
    <root>
      <level value="TRACE#org.apache.log4j.xml.XLevel"/>
      <appender-ref ref="TEMP" />
    </root>
  </log4j:configuration>
  
  
  1.1                  jakarta-log4j/tests/witness/customLevel.4
  
  Index: customLevel.4
  ===================================================================
  DEBUG xml.CustomLevelTestCase - Message 1
  INFO  xml.CustomLevelTestCase - Message 2
  WARN  xml.CustomLevelTestCase - Message 3
  ERROR xml.CustomLevelTestCase - Message 4
  TRACE xml.CustomLevelTestCase - Message 5
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>