<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "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 %-5c{3}:%L %x - %m%n" />
		</layout>
	</appender>

	<appender name="R" class="org.apache.log4j.RollingFileAppender">
		<param name="file" value="D:/logs/taxService.txt" />
		<param name="MaxFileSize" value="10240KB" />
		<param name="MaxBackupIndex" value="500" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d %-5p %-5c{3}:%L %x - %m%n" />
		</layout>
	</appender>



	<logger name="com.hst">
		<level value="DEBUG" />
	</logger>
	<logger name="com.ifugle">
		<level value="DEBUG" />
	</logger>
	<logger name="org.springframework">
		<level value="INFO" />
	</logger>

	<logger name="com.ibatis">
		<level value="DEBUG" />
	</logger>
	<logger name="java.sql.PreparedStatement">
		<level value="DEBUG" />
	</logger>
	<logger name="java.sql.Statement">
		<level value="DEBUG" />
	</logger>
	<logger name="java.sql.Connection">
		<level value="DEBUG" />
	</logger>
	<logger name="java.sql.ResultSet">
		<level value="WARN" />
	</logger>

	<root>
		<priority value="WARN" />
		<appender-ref ref="R" />
		<appender-ref ref="stdout" />
		<!-- <appender-ref ref="database"/> -->
		<!-- <appender-ref ref="mail"/> only company use -->
	</root>

</log4j:configuration>