|
|
|
@ -202,4 +202,47 @@ |
|
|
|
|
<appender-ref ref="PcytCNPCCouponLog" /> |
|
|
|
|
</logger> |
|
|
|
|
|
|
|
|
|
<!-- 千猪接口 --> |
|
|
|
|
<appender name="QianZhuLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
|
|
<File>log/QianZhuLog.log</File> |
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|
|
|
|
<fileNamePattern>log/QianZhuLog/QianZhuLog.log.%d.%i</fileNamePattern> |
|
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
|
|
|
|
<!-- or whenever the file size reaches 64 MB --> |
|
|
|
|
<maxFileSize>64 MB</maxFileSize> |
|
|
|
|
</timeBasedFileNamingAndTriggeringPolicy> |
|
|
|
|
</rollingPolicy> |
|
|
|
|
<encoder> |
|
|
|
|
<pattern> |
|
|
|
|
%d %p (%file:%line\)- %m%n |
|
|
|
|
</pattern> |
|
|
|
|
<charset>UTF-8</charset> <!-- 此处设置字符集 --> |
|
|
|
|
</encoder> |
|
|
|
|
</appender> |
|
|
|
|
<logger name="com.hfkj.qianzhu.channel.QianZhuService" level="INFO"> |
|
|
|
|
<appender-ref ref="QianZhuLog" /> |
|
|
|
|
</logger> |
|
|
|
|
<!-- 千猪接口 --> |
|
|
|
|
<!--话费接口 --> |
|
|
|
|
<appender name="PhoneBillLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
|
|
<File>log/PhoneBillLog.log</File> |
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|
|
|
|
<fileNamePattern>log/PhoneBillLog/PhoneBillLog.log.%d.%i</fileNamePattern> |
|
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
|
|
|
|
<!-- or whenever the file size reaches 64 MB --> |
|
|
|
|
<maxFileSize>64 MB</maxFileSize> |
|
|
|
|
</timeBasedFileNamingAndTriggeringPolicy> |
|
|
|
|
</rollingPolicy> |
|
|
|
|
<encoder> |
|
|
|
|
<pattern> |
|
|
|
|
%d %p (%file:%line\)- %m%n |
|
|
|
|
</pattern> |
|
|
|
|
<charset>UTF-8</charset> <!-- 此处设置字符集 --> |
|
|
|
|
</encoder> |
|
|
|
|
</appender> |
|
|
|
|
<logger name="com.hfkj.phone.PhoneBillService" level="INFO"> |
|
|
|
|
<appender-ref ref="PhoneBillLog" /> |
|
|
|
|
</logger> |
|
|
|
|
<!-- 话费接口 --> |
|
|
|
|
|
|
|
|
|
</configuration> |
|
|
|
|