<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
	<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d %-5p %c.%M:%L - %m%n" />
		</layout>
	</appender>
	
	<appender name="FILE_OUT" class="org.apache.log4j.RollingFileAppender">      
		<param name="File" value="output.log" /><!-- 设置日志输出文件名 -->    
		<!-- 设置是否在重新启动服务时，在原有日志的基础添加新日志 -->    
		<param name="Append" value="false" />    
		<param name="MaxBackupIndex" value="10" />    
		<layout class="org.apache.log4j.PatternLayout">    
			<param name="ConversionPattern" value="%d %-5p %c.%M:%L - %m%n" />    
		</layout>    
	</appender>    
	
	<logger name="com.freud.dcom.utgard.cases.*" additivity="false">    
		<priority value="info"/>     
		<appender-ref ref="FILE_OUT" />     
	</logger> 

	<!-- for all other loggers log only info and above log messages -->
	<root>
		<priority value="INFO" />
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE_OUT" />
	</root>
</log4j:configuration> 