spc-sms/log4j.xml

53 lines
2.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="NHSSYSINFORCV" class="kr.fujitsu.com.ffw.util.DatedFileAppender" >
<param name="Suffix" value=".log" />
<param name="Prefix" value="nhssysinforcv" />
<param name="Directory" value="./../../../logs/sms" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n" />
</layout>
</appender>
<appender name="JSCHFTP" class="kr.fujitsu.com.ffw.util.DatedFileAppender" >
<param name="Suffix" value=".log" />
<param name="Prefix" value="jschftpmanager" />
<param name="Directory" value="./../../../logs/sms" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n" />
</layout>
</appender>
<appender name="NHSMASTERDATARCV" class="kr.fujitsu.com.ffw.util.DatedFileAppender" >
<param name="Suffix" value=".log" />
<param name="Prefix" value="nhsmasterdatarcv" />
<param name="Directory" value="./../../../logs/sms" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n" />
</layout>
</appender>
<appender name="FILEAGENT" class="kr.fujitsu.com.ffw.util.DatedFileAppender" >
<param name="Suffix" value=".log" />
<param name="Prefix" value="fileagent" />
<param name="Directory" value="./../../../logs/sms" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{yyyyMMdd HH:mm:ss}] [%-5p] %l - %m%n" />
</layout>
</appender>
<logger name="biz.cms_FileAgent.FileAgentPollingAction">
<level value="DEBUG"/>
<appender-ref ref="FILEAGENT"/>
</logger>
<logger name="biz.cms_NhsMasterDataRcv.NhsMasterDataRcvAction">
<level value="DEBUG"/>
<appender-ref ref="NHSMASTERDATARCV"/>
</logger>
<logger name="biz.comm.JSCHFTPManager">
<level value="DEBUG"/>
<appender-ref ref="JSCHFTP"/>
</logger>
<logger name="biz.cms_NhsSysInfoRcv.NhsSysInfoRcvAction">
<level value="DEBUG"/>
<appender-ref ref="NHSSYSINFORCV"/>
</logger>
</log4j:configuration>