<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

	<appender name="A1" class="org.apache.log4j.FileAppender">
            <param name="File"   value="A1.log" />
            <param name="Append" value="false" />	    	
            <layout class="org.apache.log4j.PatternLayout">
		<param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
            </layout>	    
	</appender>
	
	<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern"
		          value="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
		</layout>		
	</appender>
	
	<category name="org.apache.log4j.xml">
	  <priority value="debug" />
  	  <appender-ref ref="A1" />
	</category>
	
	<root>
	   <priority value ="debug" />
   	   <appender-ref ref="STDOUT" />
	</root>
	
</log4j:configuration>
