...
|
...
|
@@ -10,17 +10,17 @@ |
|
|
|
|
|
<!-- TRACE appender -->
|
|
|
<appender name="TRACE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/trace.log</file>
|
|
|
<file>/Data/logs/users/trace.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/trace.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
<fileNamePattern>/Data/logs/users/archived/trace.%d{yyyy-MM-dd}.%i.log.gz
|
|
|
</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS}|%X{X-B3-TraceId:-}|%X{X-B3-SpanId:-}|%X{X-Span-Export:-}|%thread|%msg%n</pattern>
|
...
|
...
|
@@ -40,16 +40,16 @@ |
|
|
|
|
|
<!-- DEBUG、INFO、WARN、ERROR级别日志 appender -->
|
|
|
<appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/debug-log.log</file>
|
|
|
<file>/Data/logs/users/debug-log.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/debug/debug.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/debug/debug.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>[%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}] %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level [%thread] %logger{35}:%line - %m%n</pattern>
|
...
|
...
|
@@ -58,20 +58,20 @@ |
|
|
|
|
|
<!-- WARN、ERROR级别日志 appender -->
|
|
|
<appender name="WARN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/warn-log.log</file>
|
|
|
<file>/Data/logs/users/warn-log.log</file>
|
|
|
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>WARN</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/warn/warn.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/warn/warn.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -80,16 +80,16 @@ |
|
|
|
|
|
<!-- HTTP请求超时 appender -->
|
|
|
<appender name="REQUEST_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/request-timeout.log</file>
|
|
|
<file>/Data/logs/users/request-timeout.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/request-timeout/request-timeout.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/request-timeout/request-timeout.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -98,16 +98,16 @@ |
|
|
|
|
|
<!-- 数据库超时日志 appender -->
|
|
|
<appender name="DATABASE_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/database-timeout.log</file>
|
|
|
<file>/Data/logs/users/database-timeout.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/database-timeout/database-timeout.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/database-timeout/database-timeout.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -116,16 +116,16 @@ |
|
|
|
|
|
<!-- 数据库操作统计 appender -->
|
|
|
<appender name="DATABASE_STAT" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/database-stat.log</file>
|
|
|
<file>/Data/logs/users/database-stat.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/database-stat/database-stat.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/database-stat/database-stat.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -134,16 +134,16 @@ |
|
|
|
|
|
<!-- 服务请求统计 appender -->
|
|
|
<appender name="REQUEST_STAT" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/request-stat.log</file>
|
|
|
<file>/Data/logs/users/request-stat.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/request-stat/request-stat.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/request-stat/request-stat.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -152,16 +152,16 @@ |
|
|
|
|
|
<!-- 号码校验异常日志 appender -->
|
|
|
<appender name="PHONE_VALID_ERROR" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/phone-valid.log</file>
|
|
|
<file>/Data/logs/users/phone-valid.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/phone-valid/phone-valid.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/phone-valid/phone-valid.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -171,16 +171,16 @@ |
|
|
|
|
|
<!-- 第三方账号登录日志 appender -->
|
|
|
<appender name="SIGNINBYOPENID_LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/signinbyopenid-login.log</file>
|
|
|
<file>/Data/logs/users/signinbyopenid-login.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/signinbyopenid-login/signinbyopenid-login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/signinbyopenid-login/signinbyopenid-login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -190,16 +190,16 @@ |
|
|
|
|
|
<!-- 登录日志 appender -->
|
|
|
<appender name="LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/login.log</file>
|
|
|
<file>/Data/logs/users/login.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/login/login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/login/login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -208,16 +208,16 @@ |
|
|
|
|
|
<!-- 登录日志(大数据采集) appender -->
|
|
|
<appender name="LOGIN_LOG_BIG_DATA" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/login-big-data.log</file>
|
|
|
<file>/Data/logs/users/login-big-data.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/login-big-data/login-big-data.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/login-big-data/login-big-data.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -226,16 +226,16 @@ |
|
|
|
|
|
<!-- 注册日志(大数据采集) appender -->
|
|
|
<appender name="REGISTER_LOG_BIG_DATA" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/register-big-data.log</file>
|
|
|
<file>/Data/logs/users/register-big-data.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/register-big-data/register-big-data.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/register-big-data/register-big-data.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -243,16 +243,16 @@ |
|
|
</appender>
|
|
|
|
|
|
<appender name="RISK_MANAGER_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/risk-manager.log</file>
|
|
|
<file>/Data/logs/users/risk-manager.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/risk-manager/risk-manager.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/risk-manager/risk-manager.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -261,16 +261,16 @@ |
|
|
|
|
|
<!-- 注册日志 appender -->
|
|
|
<appender name="REGISTER_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/register.log</file>
|
|
|
<file>/Data/logs/users/register.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/register/register.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/register/register.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -279,16 +279,16 @@ |
|
|
|
|
|
<!-- 绑定手机号日志 appender -->
|
|
|
<appender name="BIND_MOBILE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/bind-mobile.log</file>
|
|
|
<file>/Data/logs/users/bind-mobile.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/bind-mobile/bind-mobile.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/bind-mobile/bind-mobile.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -298,16 +298,16 @@ |
|
|
|
|
|
<!-- 修改绑定手机号日志 appender -->
|
|
|
<appender name="CHANGE_BIND_MOBILE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/change-bind-mobile.log</file>
|
|
|
<file>/Data/logs/users/change-bind-mobile.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/change-bind-mobile/change-bind-mobile.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/change-bind-mobile/change-bind-mobile.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -317,16 +317,16 @@ |
|
|
|
|
|
<!-- 登录时,如果sso_relation为空的日志 appender -->
|
|
|
<appender name="SSO_RELATION_LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/sso-relation-login.log</file>
|
|
|
<file>/Data/logs/users/sso-relation-login.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/sso-relation-login/sso-relation-login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/sso-relation-login/sso-relation-login.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -334,16 +334,16 @@ |
|
|
</appender>
|
|
|
|
|
|
<appender name="BROWSER_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/browseSync.log</file>
|
|
|
<file>/Data/logs/users/browseSync.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/browseSync/browseSync.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/browseSync/browseSync.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -352,16 +352,16 @@ |
|
|
|
|
|
<!-- yoho币、红包 变更日志-->
|
|
|
<appender name="YOHOCOIN_RED_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/yohocoin_red.log</file>
|
|
|
<file>/Data/logs/users/yohocoin_red.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/yohocoin_red.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/yohocoin_red.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -370,16 +370,16 @@ |
|
|
|
|
|
<!-- yoho币、红包 变更日志-->
|
|
|
<appender name="REDIS_OPERATION_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/redis_operation.log</file>
|
|
|
<file>/Data/logs/users/redis_operation.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/redis_operation.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/redis_operation.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -388,16 +388,16 @@ |
|
|
|
|
|
<!-- 有货分期日志-->
|
|
|
<appender name="INSTALMENT_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/instalment.log</file>
|
|
|
<file>/Data/logs/users/instalment.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/instalment.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/instalment.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -406,16 +406,16 @@ |
|
|
|
|
|
<!-- 学生认证 -->
|
|
|
<appender name="VERIFYSTUDENT_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/verify_student.log</file>
|
|
|
<file>/Data/logs/users/verify_student.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/verify_student.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/verify_student.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -424,16 +424,16 @@ |
|
|
|
|
|
<!-- user重要日志 登陆、注册、密码管理、绑定、关联、个人中心、用户VIP信息、有货币相关接口、短信验证码接口、用户签到 -->
|
|
|
<appender name="USER_IMPORT_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/user-import.log</file>
|
|
|
<file>/Data/logs/users/user-import.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/userImport/user-import.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/userImport/user-import.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -442,16 +442,16 @@ |
|
|
|
|
|
<!-- user缓存相关日志 -->
|
|
|
<appender name="USER_CACHE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/user-cache.log</file>
|
|
|
<file>/Data/logs/users/user-cache.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/userCache/user-cache.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/userCache/user-cache.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -460,16 +460,16 @@ |
|
|
|
|
|
<!-- 有货币洗数据日志 -->
|
|
|
<appender name="YOHO_COIN_MOVE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/yoho_coin_move.log</file>
|
|
|
<file>/Data/logs/users/yoho_coin_move.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/yohoCoin/yoho_coin_move.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/yohoCoin/yoho_coin_move.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -478,16 +478,16 @@ |
|
|
|
|
|
<!-- 短链生成失败日志 -->
|
|
|
<appender name="INVITE_SHORT_URL_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/invite_short-url.log</file>
|
|
|
<file>/Data/logs/users/invite_short-url.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/userCache/invite_short-url.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/userCache/invite_short-url.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -496,16 +496,16 @@ |
|
|
|
|
|
<!-- user签到相关日志 -->
|
|
|
<appender name="USER_SIGN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/user_sign.log</file>
|
|
|
<file>/Data/logs/users/user_sign.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/userSign/user_sign.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/userSign/user_sign.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -514,16 +514,16 @@ |
|
|
|
|
|
<!-- 密码校验错误日志 -->
|
|
|
<appender name="VALID_PWD_ERR_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/valid_pwd_err_log.log</file>
|
|
|
<file>/Data/logs/users/valid_pwd_err_log.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/validPwdErr/valid_pwd_err_log.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/validPwdErr/valid_pwd_err_log.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
|
...
|
...
|
@@ -532,16 +532,16 @@ |
|
|
|
|
|
<!-- 用户注销日志 -->
|
|
|
<appender name="USER_CANCEL_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
<file>${yoho.logs.basedir}/${yoho.users.env.namespace}/userCancel-log.log</file>
|
|
|
<file>/Data/logs/users/userCancel-log.log</file>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
|
|
<fileNamePattern>${yoho.logs.basedir}/${yoho.users.env.namespace}/archived/userCancel/userCancel-log.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<fileNamePattern>/Data/logs/users/archived/userCancel/userCancel-log.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
|
|
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
<!-- or whenever the file size reaches 100MB -->
|
|
|
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
|
|
|
<maxFileSize>100MB</maxFileSize>
|
|
|
</timeBasedFileNamingAndTriggeringPolicy>
|
|
|
<!-- keep 30 days' worth of history -->
|
|
|
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
|
|
|
<maxHistory>30</maxHistory>
|
|
|
</rollingPolicy>
|
|
|
<encoder>
|
|
|
<pattern>[%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}] %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level [%thread] %logger{35}:%line - %m%n</pattern>
|
...
|
...
|
|