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

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

	<appender name="FILE" class="org.apache.log4j.FileAppender">
		<param name="File" value="log/import.log"/>
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern"
				value="%d %-5p [%t] %C{3} - %m%n" />
		</layout>
	</appender>

	<appender name="DAILY" class="org.apache.log4j.DailyRollingFileAppender">
		<param name="File" value="log/import.log"/>
		<param name="DatePattern" value=".yyyy-MM-dd"/>
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern"
				value="%d %-5p [%t] %C{3} - %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{3} - %m%n" />
		</layout>
	</appender>

	<category name="egeyama.bt.db">
		<priority value="info" />
		<appender-ref ref="STDOUT" />
		<appender-ref ref="DAILY" />
	</category>

<!-- 
	<root>
		<priority value="error" />
		<appender-ref ref="STDOUT" />
	</root>
-->

</log4j:configuration>
