psh
1 year ago
9 changed files with 306 additions and 376 deletions
@ -1,30 +0,0 @@ |
|||
<!--<?xml version="1.0" encoding="UTF-8"?>--> |
|||
<!--<included>--> |
|||
<!-- <springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/>--> |
|||
<!-- <springProperty scope="context" name="lokiUrl" source="loki.url"/>--> |
|||
<!-- <property name="LOKI_URL" value="${lokiUrl}"/>--> |
|||
<!-- <property name="log.pattern"--> |
|||
<!-- value="%black(%contextName-) %red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) - %gray(%msg%n)"/>--> |
|||
|
|||
<!-- <!–添加loki–>--> |
|||
<!-- <appender name="lokiAppender" class="com.github.loki4j.logback.Loki4jAppender">--> |
|||
<!-- <batchTimeoutMs>1000</batchTimeoutMs>--> |
|||
<!-- <http class="com.github.loki4j.logback.ApacheHttpSender">--> |
|||
<!-- <url>${LOKI_URL}</url>--> |
|||
<!-- </http>--> |
|||
<!-- <format>--> |
|||
<!-- <label>--> |
|||
<!-- <pattern>logType=wms_to_acs</pattern>--> |
|||
<!-- </label>--> |
|||
<!-- <message>--> |
|||
<!-- <pattern>${log.pattern}</pattern>--> |
|||
<!-- </message>--> |
|||
<!-- <sortByTime>true</sortByTime>--> |
|||
<!-- </format>--> |
|||
<!-- </appender>--> |
|||
|
|||
<!-- <!– 打印sql –>--> |
|||
<!-- <logger name="org.nl.acs.ext.wms.service.impl.WmsToAcsServiceImpl" level="info" additivity="false">--> |
|||
<!-- <appender-ref ref="lokiAppender" />--> |
|||
<!-- </logger>--> |
|||
<!--</included>--> |
Loading…
Reference in new issue