Skip to content

Commit

Permalink
Update XML configuration test case
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed May 15, 2024
1 parent 9388393 commit a8b493b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/test/resources/input/xml/DOMTestCase2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,32 @@

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="A1" class="org.apache.log4j.FileAppender">

<param name="File" value="output\temp.A1.2" />
<param name="Append" value="false" />
<param name="Append" value="false" />

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

<appender name="A2" class="org.apache.log4j.FileAppender">
<param name="File" value="output\temp.A2.2" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.TTCCLayout">
<param name="DateFormat" value="ISO8601" />
</layout>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} [%t] %-5p - %m%n"/>
</layout>
</appender>

<logger name="org.apache.log4j.xml">
<level value="debug" />
<appender-ref ref="A1" />
</logger>

<root>
<priority value ="debug" />
<appender-ref ref="A1" />
<appender-ref ref="A2" />
</root>

</log4j:configuration>

0 comments on commit a8b493b

Please sign in to comment.