<?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> 
  
        <appender name="JX" class="org.apache.log4j.FileAppender"> 
                <param name="File"   value="JX.log" /> 
                <param name="Append" value="false" />
                <layout class="org.apache.log4j.PatternLayout"> 
                    <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/> 
                </layout>
        </appender>  
  
        <category name="org.apache.log4j.xml"> 
          <priority value="info" /> 
          <appender-ref ref="JX" /> 
        </category> 
 
        <root> 
           <priority value ="info" /> 
           <appender-ref ref="JX" /> 
        </root>
 
    </log4j:configuration> 
