Showing
1 changed file
with
14 additions
and
14 deletions
@@ -11,10 +11,10 @@ | @@ -11,10 +11,10 @@ | ||
11 | 11 | ||
12 | <!-- DEBUG、INFO、WARN、ERROR级别日志 appender --> | 12 | <!-- DEBUG、INFO、WARN、ERROR级别日志 appender --> |
13 | <appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 13 | <appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
14 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/debug.log</file> | 14 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/debug.log</file> |
15 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 15 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
16 | <!-- daily rollover --> | 16 | <!-- daily rollover --> |
17 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/debug.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 17 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/debug.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
18 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 18 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
19 | <!-- or whenever the file size reaches 100MB --> | 19 | <!-- or whenever the file size reaches 100MB --> |
20 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 20 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -29,14 +29,14 @@ | @@ -29,14 +29,14 @@ | ||
29 | 29 | ||
30 | <!-- WARN、ERROR级别日志 appender --> | 30 | <!-- WARN、ERROR级别日志 appender --> |
31 | <appender name="WARN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 31 | <appender name="WARN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
32 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/warn-log.log</file> | 32 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/warn-log.log</file> |
33 | <!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 --> | 33 | <!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 --> |
34 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | 34 | <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> |
35 | <level>WARN</level> | 35 | <level>WARN</level> |
36 | </filter> | 36 | </filter> |
37 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 37 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
38 | <!-- daily rollover --> | 38 | <!-- daily rollover --> |
39 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/warn.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 39 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/warn.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
40 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 40 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
41 | <!-- or whenever the file size reaches 100MB --> | 41 | <!-- or whenever the file size reaches 100MB --> |
42 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 42 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -52,10 +52,10 @@ | @@ -52,10 +52,10 @@ | ||
52 | 52 | ||
53 | <!-- HTTP请求超时 appender --> | 53 | <!-- HTTP请求超时 appender --> |
54 | <appender name="REQUEST_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 54 | <appender name="REQUEST_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
55 | - <file>${yoho.logs.basedir}/${yoho.search.consumer.env.namespace}/request-timeout.log</file> | 55 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/request-timeout.log</file> |
56 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 56 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
57 | <!-- daily rollover --> | 57 | <!-- daily rollover --> |
58 | - <fileNamePattern>${yoho.logs.basedir}/${yoho.search.consumer.env.namespace}/archived/request-timeout.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 58 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/request-timeout.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
59 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 59 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
60 | <!-- or whenever the file size reaches 100MB --> | 60 | <!-- or whenever the file size reaches 100MB --> |
61 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 61 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -70,10 +70,10 @@ | @@ -70,10 +70,10 @@ | ||
70 | 70 | ||
71 | <!-- 数据库超时日志 appender --> | 71 | <!-- 数据库超时日志 appender --> |
72 | <appender name="DATABASE_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 72 | <appender name="DATABASE_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
73 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/database-timeout.log</file> | 73 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/database-timeout.log</file> |
74 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 74 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
75 | <!-- daily rollover --> | 75 | <!-- daily rollover --> |
76 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/database-timeout.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 76 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/database-timeout.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
77 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 77 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
78 | <!-- or whenever the file size reaches 100MB --> | 78 | <!-- or whenever the file size reaches 100MB --> |
79 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 79 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -88,10 +88,10 @@ | @@ -88,10 +88,10 @@ | ||
88 | 88 | ||
89 | <!-- 服务请求统计 appender --> | 89 | <!-- 服务请求统计 appender --> |
90 | <appender name="REQUEST_STAT" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 90 | <appender name="REQUEST_STAT" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
91 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/request-stat.log</file> | 91 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/request-stat.log</file> |
92 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 92 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
93 | <!-- daily rollover --> | 93 | <!-- daily rollover --> |
94 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/request-stat.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 94 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/request-stat.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
95 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 95 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
96 | <!-- or whenever the file size reaches 100MB --> | 96 | <!-- or whenever the file size reaches 100MB --> |
97 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 97 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -106,10 +106,10 @@ | @@ -106,10 +106,10 @@ | ||
106 | 106 | ||
107 | <!-- 全量建索引 appender --> | 107 | <!-- 全量建索引 appender --> |
108 | <appender name="INDEX_REBULDER_APPAND" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 108 | <appender name="INDEX_REBULDER_APPAND" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
109 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/index-rebuild.log</file> | 109 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/index-rebuild.log</file> |
110 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 110 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
111 | <!-- daily rollover --> | 111 | <!-- daily rollover --> |
112 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/index-rebuild.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 112 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/index-rebuild.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
113 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 113 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
114 | <!-- or whenever the file size reaches 100MB --> | 114 | <!-- or whenever the file size reaches 100MB --> |
115 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 115 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
@@ -124,10 +124,10 @@ | @@ -124,10 +124,10 @@ | ||
124 | 124 | ||
125 | <!-- 事件上报 appender --> | 125 | <!-- 事件上报 appender --> |
126 | <appender name="SEARCH_EVENT_APPAND" class="ch.qos.logback.core.rolling.RollingFileAppender"> | 126 | <appender name="SEARCH_EVENT_APPAND" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
127 | - <file>${yoho.logs.basedir}/${mars.search.service.env.namespace}/search-event.log</file> | 127 | + <file>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/search-event.log</file> |
128 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | 128 | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
129 | <!-- daily rollover --> | 129 | <!-- daily rollover --> |
130 | - <fileNamePattern>${yoho.logs.basedir}/${mars.search.service.env.namespace}/archived/search-event.%d{yyyy-MM-dd}.%i.log</fileNamePattern> | 130 | + <fileNamePattern>${yoho.logs.basedir}/${yohomars.search.service.env.namespace}/archived/search-event.%d{yyyy-MM-dd}.%i.log</fileNamePattern> |
131 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> | 131 | <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> |
132 | <!-- or whenever the file size reaches 100MB --> | 132 | <!-- or whenever the file size reaches 100MB --> |
133 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> | 133 | <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize> |
-
Please register or login to post a comment