<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
  <appender name="TestLogfile" class="org.apache.log4j.RollingFileAppender">
    <param name="File" value="c:/test/log4j_without_flush.log"/>
    <param name="MaxFileSize" value="1000KB"/>
    <param name="maxBackupIndex" value="1"/>
    <param name="immediateFlush" value="false"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{ISO8601} %5p [%t] %c %X{transactionId} - %m%n"/>
    </layout>
  </appender>
  <root>
    <level value="debug"/>
    <appender-ref ref="TestLogfile"/>
  </root>
</log4j:configuration>