Authored by mali

日志整改

@@ -17,24 +17,7 @@ @@ -17,24 +17,7 @@
17 </appender> 17 </appender>
18 18
19 19
20 - <appender name="PAYMENTBD_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">  
21 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/paymentBD.log</file>  
22 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
23 - <!-- daily rollover -->  
24 - <fileNamePattern>  
25 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/paymentBD.%d{yyyy-MM-dd}.%i.log.gz  
26 - </fileNamePattern>  
27 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
28 - <!-- or whenever the file size reaches 100MB -->  
29 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
30 - </timeBasedFileNamingAndTriggeringPolicy>  
31 - <!-- keep 30 days' worth of history -->  
32 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
33 - </rollingPolicy>  
34 - <encoder>  
35 - <pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
36 - </encoder>  
37 - </appender> 20 +
38 21
39 <appender name="PAYMENT_ALIPAY" class="ch.qos.logback.core.rolling.RollingFileAppender"> 22 <appender name="PAYMENT_ALIPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">
40 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/alipay.log</file> 23 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/alipay.log</file>
@@ -78,43 +61,9 @@ @@ -78,43 +61,9 @@
78 </encoder> 61 </encoder>
79 </appender> 62 </appender>
80 63
81 - <appender name="PAYMENT_ALIPAYWAP" class="ch.qos.logback.core.rolling.RollingFileAppender">  
82 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/alipaywap.log</file>  
83 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
84 - <!-- daily rollover -->  
85 - <fileNamePattern>  
86 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/alipaywap.%d{yyyy-MM-dd}.%i.log.gz  
87 - </fileNamePattern>  
88 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
89 - <!-- or whenever the file size reaches 100MB -->  
90 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
91 - </timeBasedFileNamingAndTriggeringPolicy>  
92 - <!-- keep 30 days' worth of history -->  
93 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
94 - </rollingPolicy>  
95 - <encoder>  
96 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
97 - </encoder>  
98 - </appender>  
99 64
100 - <appender name="PAYMENTERR_ALIPAYWAP" class="ch.qos.logback.core.rolling.RollingFileAppender">  
101 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/alipaywap-err.log</file>  
102 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
103 - <!-- daily rollover -->  
104 - <fileNamePattern>  
105 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/alipaywap-err.%d{yyyy-MM-dd}.%i.log.gz  
106 - </fileNamePattern>  
107 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
108 - <!-- or whenever the file size reaches 100MB -->  
109 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
110 - </timeBasedFileNamingAndTriggeringPolicy>  
111 - <!-- keep 30 days' worth of history -->  
112 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
113 - </rollingPolicy>  
114 - <encoder>  
115 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
116 - </encoder>  
117 - </appender> 65 +
  66 +
118 67
119 <appender name="PAYMENT_WECHAT" class="ch.qos.logback.core.rolling.RollingFileAppender"> 68 <appender name="PAYMENT_WECHAT" class="ch.qos.logback.core.rolling.RollingFileAppender">
120 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/wechatpay.log</file> 69 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/wechatpay.log</file>
@@ -157,278 +106,6 @@ @@ -157,278 +106,6 @@
157 </encoder> 106 </encoder>
158 </appender> 107 </appender>
159 108
160 - <appender name="PAYMENT_WECHATWAP" class="ch.qos.logback.core.rolling.RollingFileAppender">  
161 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/wechatwap.log</file>  
162 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
163 - <!-- daily rollover -->  
164 - <fileNamePattern>  
165 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/wechatwap.%d{yyyy-MM-dd}.%i.log.gz  
166 - </fileNamePattern>  
167 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
168 - <!-- or whenever the file size reaches 100MB -->  
169 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
170 - </timeBasedFileNamingAndTriggeringPolicy>  
171 - <!-- keep 30 days' worth of history -->  
172 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
173 - </rollingPolicy>  
174 - <encoder>  
175 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
176 - </encoder>  
177 - </appender>  
178 -  
179 - <appender name="PAYMENTERR_WECHATWAP" class="ch.qos.logback.core.rolling.RollingFileAppender">  
180 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/wechatwap-err.log</file>  
181 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
182 - <!-- daily rollover -->  
183 - <fileNamePattern>  
184 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/wechatwap-err.%d{yyyy-MM-dd}.%i.log.gz  
185 - </fileNamePattern>  
186 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
187 - <!-- or whenever the file size reaches 100MB -->  
188 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
189 - </timeBasedFileNamingAndTriggeringPolicy>  
190 - <!-- keep 30 days' worth of history -->  
191 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
192 - </rollingPolicy>  
193 - <encoder>  
194 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
195 - </encoder>  
196 - </appender>  
197 -  
198 - <appender name="PAYMENT_UNIONPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
199 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/unionpay.log</file>  
200 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
201 - <!-- daily rollover -->  
202 - <fileNamePattern>  
203 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/unionpay.%d{yyyy-MM-dd}.%i.log.gz  
204 - </fileNamePattern>  
205 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
206 - <!-- or whenever the file size reaches 100MB -->  
207 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
208 - </timeBasedFileNamingAndTriggeringPolicy>  
209 - <!-- keep 30 days' worth of history -->  
210 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
211 - </rollingPolicy>  
212 - <encoder>  
213 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
214 - </encoder>  
215 - </appender>  
216 -  
217 - <appender name="PAYMENTERR_UNIONPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
218 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/unionpay-err.log</file>  
219 - <filter class="ch.qos.logback.classic.filter.ThresholdFilter">  
220 - <level>WARN</level>  
221 - </filter>  
222 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
223 - <!-- daily rollover -->  
224 - <fileNamePattern>  
225 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/unionpay-err.%d{yyyy-MM-dd}.%i.log.gz  
226 - </fileNamePattern>  
227 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
228 - <!-- or whenever the file size reaches 100MB -->  
229 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
230 - </timeBasedFileNamingAndTriggeringPolicy>  
231 - <!-- keep 30 days' worth of history -->  
232 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
233 - </rollingPolicy>  
234 - <encoder>  
235 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
236 - </encoder>  
237 - </appender>  
238 -  
239 - <appender name="PAYMENT_APPLEPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
240 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/applepay.log</file>  
241 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
242 - <!-- daily rollover -->  
243 - <fileNamePattern>  
244 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/applepay.%d{yyyy-MM-dd}.%i.log.gz  
245 - </fileNamePattern>  
246 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
247 - <!-- or whenever the file size reaches 100MB -->  
248 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
249 - </timeBasedFileNamingAndTriggeringPolicy>  
250 - <!-- keep 30 days' worth of history -->  
251 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
252 - </rollingPolicy>  
253 - <encoder>  
254 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
255 - </encoder>  
256 - </appender>  
257 -  
258 - <appender name="PAYMENTERR_APPLEPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
259 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/applepay-err.log</file>  
260 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
261 - <!-- daily rollover -->  
262 - <fileNamePattern>  
263 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/applepay-err.%d{yyyy-MM-dd}.%i.log.gz  
264 - </fileNamePattern>  
265 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
266 - <!-- or whenever the file size reaches 100MB -->  
267 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
268 - </timeBasedFileNamingAndTriggeringPolicy>  
269 - <!-- keep 30 days' worth of history -->  
270 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
271 - </rollingPolicy>  
272 - <encoder>  
273 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
274 - </encoder>  
275 - </appender>  
276 -  
277 - <appender name="PAYMENT_QQWALLET" class="ch.qos.logback.core.rolling.RollingFileAppender">  
278 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/qqwallet.log</file>  
279 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
280 - <!-- daily rollover -->  
281 - <fileNamePattern>  
282 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/qqwallet.%d{yyyy-MM-dd}.%i.log.gz  
283 - </fileNamePattern>  
284 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
285 - <!-- or whenever the file size reaches 100MB -->  
286 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
287 - </timeBasedFileNamingAndTriggeringPolicy>  
288 - <!-- keep 30 days' worth of history -->  
289 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
290 - </rollingPolicy>  
291 - <encoder>  
292 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
293 - </encoder>  
294 - </appender>  
295 -  
296 - <appender name="PAYMENTERR_QQWALLET" class="ch.qos.logback.core.rolling.RollingFileAppender">  
297 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/qqwallet-err.log</file>  
298 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
299 - <!-- daily rollover -->  
300 - <fileNamePattern>  
301 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/qqwallet-err.%d{yyyy-MM-dd}.%i.log.gz  
302 - </fileNamePattern>  
303 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
304 - <!-- or whenever the file size reaches 100MB -->  
305 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
306 - </timeBasedFileNamingAndTriggeringPolicy>  
307 - <!-- keep 30 days' worth of history -->  
308 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
309 - </rollingPolicy>  
310 - <encoder>  
311 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
312 - </encoder>  
313 - </appender>  
314 -  
315 - <appender name="PAYMENT_ALIPAYNEW" class="ch.qos.logback.core.rolling.RollingFileAppender">  
316 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/alipayNew.log</file>  
317 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
318 - <!-- daily rollover -->  
319 - <fileNamePattern>  
320 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/alipayNew.%d{yyyy-MM-dd}.%i.log.gz  
321 - </fileNamePattern>  
322 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
323 - <!-- or whenever the file size reaches 100MB -->  
324 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
325 - </timeBasedFileNamingAndTriggeringPolicy>  
326 - <!-- keep 30 days' worth of history -->  
327 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
328 - </rollingPolicy>  
329 - <encoder>  
330 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
331 - </encoder>  
332 - </appender>  
333 -  
334 - <appender name="PAYMENT_PCPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
335 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/pcpay.log</file>  
336 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
337 - <!-- daily rollover -->  
338 - <fileNamePattern>  
339 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/pcpay.%d{yyyy-MM-dd}.%i.log.gz  
340 - </fileNamePattern>  
341 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
342 - <!-- or whenever the file size reaches 100MB -->  
343 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
344 - </timeBasedFileNamingAndTriggeringPolicy>  
345 - <!-- keep 30 days' worth of history -->  
346 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
347 - </rollingPolicy>  
348 - <encoder>  
349 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
350 - </encoder>  
351 - </appender>  
352 -  
353 - <appender name="PAYMENTERR_PCPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
354 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/pcpay-err.log</file>  
355 - <filter class="ch.qos.logback.classic.filter.ThresholdFilter">  
356 - <level>WARN</level>  
357 - </filter>  
358 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
359 - <!-- daily rollover -->  
360 - <fileNamePattern>  
361 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/pcpay-err.%d{yyyy-MM-dd}.%i.log.gz  
362 - </fileNamePattern>  
363 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
364 - <!-- or whenever the file size reaches 100MB -->  
365 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
366 - </timeBasedFileNamingAndTriggeringPolicy>  
367 - <!-- keep 30 days' worth of history -->  
368 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
369 - </rollingPolicy>  
370 - <encoder>  
371 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
372 - </encoder>  
373 - </appender>  
374 -  
375 - <appender name="RECOMMEND_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">  
376 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/recommend.log</file>  
377 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
378 - <!-- daily rollover -->  
379 - <fileNamePattern>  
380 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/recommend.%d{yyyy-MM-dd}.%i.log.gz  
381 - </fileNamePattern>  
382 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
383 - <!-- or whenever the file size reaches 100MB -->  
384 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
385 - </timeBasedFileNamingAndTriggeringPolicy>  
386 - <!-- keep 30 days' worth of history -->  
387 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
388 - </rollingPolicy>  
389 - <encoder>  
390 - <pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
391 - </encoder>  
392 - </appender>  
393 -  
394 - <appender name="CLEARCACHE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">  
395 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/clearcache.log</file>  
396 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
397 - <!-- daily rollover -->  
398 - <fileNamePattern>  
399 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/clearcache.%d{yyyy-MM-dd}.%i.log.gz  
400 - </fileNamePattern>  
401 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
402 - <!-- or whenever the file size reaches 100MB -->  
403 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
404 - </timeBasedFileNamingAndTriggeringPolicy>  
405 - <!-- keep 30 days' worth of history -->  
406 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
407 - </rollingPolicy>  
408 - <encoder>  
409 - <pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
410 - </encoder>  
411 - </appender>  
412 -  
413 - <appender name="CONSUMER_CLEARCACHE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">  
414 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/consumer-clearcache.log</file>  
415 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
416 - <!-- daily rollover -->  
417 - <fileNamePattern>  
418 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/consumer-clearcache.%d{yyyy-MM-dd}.%i.log.gz  
419 - </fileNamePattern>  
420 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
421 - <!-- or whenever the file size reaches 100MB -->  
422 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
423 - </timeBasedFileNamingAndTriggeringPolicy>  
424 - <!-- keep 30 days' worth of history -->  
425 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
426 - </rollingPolicy>  
427 - <encoder>  
428 - <pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
429 - </encoder>  
430 - </appender>  
431 -  
432 109
433 <!-- DEBUG级别日志 appender --> 110 <!-- DEBUG级别日志 appender -->
434 <appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> 111 <appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -624,46 +301,6 @@ @@ -624,46 +301,6 @@
624 </encoder> 301 </encoder>
625 </appender> 302 </appender>
626 303
627 - <appender name="PAYMENT_CRFPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
628 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/crfpay.log</file>  
629 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
630 - <!-- daily rollover -->  
631 - <fileNamePattern>  
632 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/crfpay.%d{yyyy-MM-dd}.%i.log.gz  
633 - </fileNamePattern>  
634 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
635 - <!-- or whenever the file size reaches 100MB -->  
636 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
637 - </timeBasedFileNamingAndTriggeringPolicy>  
638 - <!-- keep 30 days' worth of history -->  
639 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
640 - </rollingPolicy>  
641 - <encoder>  
642 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
643 - </encoder>  
644 - </appender>  
645 -  
646 - <appender name="PAYMENTERR_CRFPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
647 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/crfpay-err.log</file>  
648 - <filter class="ch.qos.logback.classic.filter.ThresholdFilter">  
649 - <level>WARN</level>  
650 - </filter>  
651 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
652 - <!-- daily rollover -->  
653 - <fileNamePattern>  
654 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/crfpay-err.%d{yyyy-MM-dd}.%i.log.gz  
655 - </fileNamePattern>  
656 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
657 - <!-- or whenever the file size reaches 100MB -->  
658 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
659 - </timeBasedFileNamingAndTriggeringPolicy>  
660 - <!-- keep 30 days' worth of history -->  
661 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
662 - </rollingPolicy>  
663 - <encoder>  
664 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
665 - </encoder>  
666 - </appender>  
667 304
668 305
669 <appender name="MEM_MONTIOR_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> 306 <appender name="MEM_MONTIOR_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
@@ -685,128 +322,6 @@ @@ -685,128 +322,6 @@
685 </encoder> 322 </encoder>
686 </appender> 323 </appender>
687 324
688 - <appender name="PAYMENT_UNIONMPOSPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
689 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/unionmpospay.log</file>  
690 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
691 - <!-- daily rollover -->  
692 - <fileNamePattern>  
693 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/unionmpospay.%d{yyyy-MM-dd}.%i.log.gz  
694 - </fileNamePattern>  
695 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
696 - <!-- or whenever the file size reaches 100MB -->  
697 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
698 - </timeBasedFileNamingAndTriggeringPolicy>  
699 - <!-- keep 30 days' worth of history -->  
700 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
701 - </rollingPolicy>  
702 - <encoder>  
703 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
704 - </encoder>  
705 - </appender>  
706 -  
707 - <appender name="PAYMENTERR_UNIONMPOSPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
708 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/unionmpospay-err.log</file>  
709 - <filter class="ch.qos.logback.classic.filter.ThresholdFilter">  
710 - <level>WARN</level>  
711 - </filter>  
712 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
713 - <!-- daily rollover -->  
714 - <fileNamePattern>  
715 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/unionmpospay-err.%d{yyyy-MM-dd}.%i.log.gz  
716 - </fileNamePattern>  
717 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
718 - <!-- or whenever the file size reaches 100MB -->  
719 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
720 - </timeBasedFileNamingAndTriggeringPolicy>  
721 - <!-- keep 30 days' worth of history -->  
722 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
723 - </rollingPolicy>  
724 - <encoder>  
725 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
726 - </encoder>  
727 - </appender>  
728 -  
729 - <!-- 线下店现金支付日志 -->  
730 - <appender name="PAYMENT_OFFLINECASH" class="ch.qos.logback.core.rolling.RollingFileAppender">  
731 - <file>${yoho.logs.basedir}/${yohobuy.order.env.namespace}/offline-cashpay.log</file>  
732 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
733 - <!-- daily rollover -->  
734 - <fileNamePattern>  
735 - ${yoho.logs.basedir}/${yohobuy.gateway.env.namespace}/archived/pay/offline-cashpay.%d{yyyy-MM-dd}.%i.log.gz  
736 - </fileNamePattern>  
737 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
738 - <!-- or whenever the file size reaches 100MB -->  
739 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
740 - </timeBasedFileNamingAndTriggeringPolicy>  
741 - <!-- keep 30 days' worth of history -->  
742 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
743 - </rollingPolicy>  
744 - <encoder>  
745 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
746 - </encoder>  
747 - </appender>  
748 -  
749 - <appender name="PAYMENT_CMBPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
750 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/cmbpay.log</file>  
751 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
752 - <!-- daily rollover -->  
753 - <fileNamePattern>  
754 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/cmbpay.%d{yyyy-MM-dd}.%i.log.gz  
755 - </fileNamePattern>  
756 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
757 - <!-- or whenever the file size reaches 100MB -->  
758 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
759 - </timeBasedFileNamingAndTriggeringPolicy>  
760 - <!-- keep 30 days' worth of history -->  
761 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
762 - </rollingPolicy>  
763 - <encoder>  
764 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
765 - </encoder>  
766 - </appender>  
767 -  
768 - <appender name="PAYMENTERR_CMBPAY" class="ch.qos.logback.core.rolling.RollingFileAppender">  
769 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/cmbpay-err.log</file>  
770 - <!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->  
771 - <filter class="ch.qos.logback.classic.filter.ThresholdFilter">  
772 - <level>WARN</level>  
773 - </filter>  
774 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
775 - <!-- daily rollover -->  
776 - <fileNamePattern>  
777 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/pay/cmbpay-err.%d{yyyy-MM-dd}.%i.log.gz  
778 - </fileNamePattern>  
779 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
780 - <!-- or whenever the file size reaches 100MB -->  
781 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
782 - </timeBasedFileNamingAndTriggeringPolicy>  
783 - <!-- keep 30 days' worth of history -->  
784 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
785 - </rollingPolicy>  
786 - <encoder>  
787 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
788 - </encoder>  
789 - </appender>  
790 -  
791 - <appender name="PRODUCT_STORAGE" class="ch.qos.logback.core.rolling.RollingFileAppender">  
792 - <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/storage.log</file>  
793 - <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">  
794 - <!-- daily rollover -->  
795 - <fileNamePattern>  
796 - ${yoho.logs.basedir}/${ufo.gateway.env.namespace}/archived/storage.%d{yyyy-MM-dd}.%i.log.gz  
797 - </fileNamePattern>  
798 - <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  
799 - <!-- or whenever the file size reaches 100MB -->  
800 - <maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>  
801 - </timeBasedFileNamingAndTriggeringPolicy>  
802 - <!-- keep 30 days' worth of history -->  
803 - <maxHistory>${yoho.logs.maxHistory}</maxHistory>  
804 - </rollingPolicy>  
805 - <encoder>  
806 - <pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>  
807 - </encoder>  
808 - </appender>  
809 -  
810 <appender name="LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender"> 325 <appender name="LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
811 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/login.log</file> 326 <file>${yoho.logs.basedir}/${ufo.gateway.env.namespace}/login.log</file>
812 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> 327 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
@@ -938,33 +453,6 @@ @@ -938,33 +453,6 @@
938 <appender-ref ref="WARN_LOG"/> 453 <appender-ref ref="WARN_LOG"/>
939 </root> 454 </root>
940 455
941 - <!-- 登录时,如果一个IP在一定时间内登录次数过多,记录日志 appender -->  
942 - <logger name="ipLoginMoreLog" level="INFO" additivity="false">  
943 - <appender-ref ref="IP_LOGIN_MORE_LOG" />  
944 - </logger>  
945 -  
946 - <logger name="search-static" additivity="false">  
947 - <level value="INFO"/>  
948 - <appender-ref ref="SEARCH_STATIC_LOG"/>  
949 - </logger>  
950 -  
951 - <logger name="static_log" additivity="false">  
952 - <level value="INFO"/>  
953 - <appender-ref ref="STATIC_LOG"/>  
954 - </logger>  
955 -  
956 -  
957 - <logger name="search-invoke" additivity="false">  
958 - <level value="${yoho.logs.level}"/>  
959 - <appender-ref ref="SEARCH_INVOKE_LOG"/>  
960 - </logger>  
961 -  
962 - <!-- payment BD 大数据采集 -->  
963 - <logger name="paymentBDLogger" additivity="false">  
964 - <level value="info"/>  
965 - <appender-ref ref="PAYMENTBD_LOG"/>  
966 - </logger>  
967 -  
968 <!-- Alipay --> 456 <!-- Alipay -->
969 <logger name="alipayLogger" additivity="true"> 457 <logger name="alipayLogger" additivity="true">
970 <level value="INFO"/> 458 <level value="INFO"/>
@@ -978,18 +466,6 @@ @@ -978,18 +466,6 @@
978 <appender-ref ref="PAYMENTERR_ALIPAY"/> 466 <appender-ref ref="PAYMENTERR_ALIPAY"/>
979 </logger> 467 </logger>
980 468
981 - <!-- AlipayWap -->  
982 - <logger name="alipayWapLogger" additivity="true">  
983 - <level value="INFO"/>  
984 - <appender-ref ref="PAYMENT_ALIPAYWAP"/>  
985 - </logger>  
986 -  
987 - <!-- AlipayWap Err -->  
988 - <logger name="alipayWapLoggerErr" additivity="true">  
989 - <level value="WARN"/>  
990 - <appender-ref ref="PAYMENTERR_ALIPAYWAP"/>  
991 - </logger>  
992 -  
993 <!-- Wechat --> 469 <!-- Wechat -->
994 <logger name="wechatLogger" additivity="true"> 470 <logger name="wechatLogger" additivity="true">
995 <level value="INFO"/> 471 <level value="INFO"/>
@@ -1003,127 +479,34 @@ @@ -1003,127 +479,34 @@
1003 <appender-ref ref="PAYMENTERR_WECHAT"/> 479 <appender-ref ref="PAYMENTERR_WECHAT"/>
1004 </logger> 480 </logger>
1005 481
1006 - <!-- WechatWAP -->  
1007 - <logger name="wechatWapLogger" additivity="true">  
1008 - <level value="INFO"/>  
1009 - <appender-ref ref="PAYMENT_WECHATWAP"/>  
1010 - </logger>  
1011 -  
1012 - <!-- WechatWAP Err -->  
1013 - <logger name="wechatWapLoggerErr" additivity="true">  
1014 - <level value="WARN"/>  
1015 - <appender-ref ref="PAYMENTERR_WECHATWAP"/>  
1016 - </logger>  
1017 -  
1018 - <!-- UnionPay -->  
1019 - <logger name="unionpayLogger" additivity="true">  
1020 - <level value="INFO"/>  
1021 - <appender-ref ref="PAYMENT_UNIONPAY"/>  
1022 - <appender-ref ref="PAYMENTERR_UNIONPAY"/>  
1023 - </logger>  
1024 -  
1025 - <!-- UnionPay Err -->  
1026 - <logger name="unionpayLoggerErr" additivity="true">  
1027 - <level value="WARN"/>  
1028 - <appender-ref ref="PAYMENTERR_UNIONPAY"/>  
1029 - </logger>  
1030 -  
1031 - <!-- ApplePay -->  
1032 - <logger name="applepayLogger" additivity="true">  
1033 - <level value="INFO"/>  
1034 - <appender-ref ref="PAYMENT_APPLEPAY"/>  
1035 - </logger>  
1036 -  
1037 - <!-- ApplePay Err -->  
1038 - <logger name="applepayLoggerErr" additivity="true">  
1039 - <level value="WARN"/>  
1040 - <appender-ref ref="PAYMENTERR_APPLEPAY"/>  
1041 - </logger>  
1042 -  
1043 - <!-- QQWallet -->  
1044 - <logger name="qqwalletLogger" additivity="true">  
1045 - <level value="INFO"/>  
1046 - <appender-ref ref="PAYMENT_QQWALLET"/>  
1047 - </logger>  
1048 -  
1049 - <!-- QQWallet Err -->  
1050 - <logger name="qqwalletLoggerErr" additivity="true">  
1051 - <level value="WARN"/>  
1052 - <appender-ref ref="PAYMENTERR_QQWALLET"/>  
1053 - </logger>  
1054 482
1055 - <logger name="alipayNewLogger" additivity="true">  
1056 - <level value="INFO"/>  
1057 - <appender-ref ref="PAYMENT_ALIPAYNEW"/> 483 + <!-- 登录时,如果一个IP在一定时间内登录次数过多,记录日志 appender -->
  484 + <logger name="ipLoginMoreLog" level="INFO" additivity="false">
  485 + <appender-ref ref="IP_LOGIN_MORE_LOG" />
1058 </logger> 486 </logger>
1059 487
1060 - <!-- 推荐位 大数据采集 -->  
1061 - <logger name="recommendLogger" additivity="false"> 488 + <logger name="search-static" additivity="false">
1062 <level value="INFO"/> 489 <level value="INFO"/>
1063 - <appender-ref ref="RECOMMEND_LOG"/> 490 + <appender-ref ref="SEARCH_STATIC_LOG"/>
1064 </logger> 491 </logger>
1065 492
1066 - <!-- 清理缓存 -->  
1067 - <logger name="clearCache" additivity="false"> 493 + <logger name="static_log" additivity="false">
1068 <level value="INFO"/> 494 <level value="INFO"/>
1069 - <appender-ref ref="CLEARCACHE_LOG"/> 495 + <appender-ref ref="STATIC_LOG"/>
1070 </logger> 496 </logger>
1071 497
1072 498
1073 - <logger name="com.yoho.core.message.YHCacheCleanMessageConsumer" additivity="false">  
1074 - <level value="INFO"/>  
1075 - <appender-ref ref="CONSUMER_CLEARCACHE_LOG"/> 499 + <logger name="search-invoke" additivity="false">
  500 + <level value="${yoho.logs.level}"/>
  501 + <appender-ref ref="SEARCH_INVOKE_LOG"/>
1076 </logger> 502 </logger>
1077 503
1078 - <!-- PcPay -->  
1079 - <logger name="pcpayLogger" additivity="true">  
1080 - <level value="INFO"/>  
1081 - <appender-ref ref="PAYMENT_PCPAY"/>  
1082 - <appender-ref ref="PAYMENTERR_PCPAY"/>  
1083 - </logger>  
1084 -  
1085 - <!-- PcPay -->  
1086 - <logger name="pcpayLoggerErr" additivity="true">  
1087 - <level value="WARN"/>  
1088 - <appender-ref ref="PAYMENTERR_PCPAY"/>  
1089 - </logger>  
1090 504
1091 <logger name="com.yoho.core.cache.impl.SyncCleanMemCacheClientWrapper" additivity="false"> 505 <logger name="com.yoho.core.cache.impl.SyncCleanMemCacheClientWrapper" additivity="false">
1092 <level value="WARN"/> 506 <level value="WARN"/>
1093 <appender-ref ref="MEM_MONTIOR_LOG_ASYNC"/> 507 <appender-ref ref="MEM_MONTIOR_LOG_ASYNC"/>
1094 </logger> 508 </logger>
1095 509
1096 - <!-- CrfPay -->  
1097 - <logger name="crfpayLogger" additivity="true">  
1098 - <level value="INFO"/>  
1099 - <appender-ref ref="PAYMENT_CRFPAY"/>  
1100 - <appender-ref ref="PAYMENTERR_CRFPAY"/>  
1101 - </logger>  
1102 - <!-- UnionMposPay -->  
1103 - <logger name="unionmpospayLogger" additivity="true">  
1104 - <level value="INFO"/>  
1105 - <appender-ref ref="PAYMENT_UNIONMPOSPAY"/>  
1106 - <appender-ref ref="PAYMENTERR_UNIONMPOSPAY"/>  
1107 - </logger>  
1108 -  
1109 - <!-- OfflineCashPay -->  
1110 - <logger name="offlineCashPaymentLogger" additivity="true">  
1111 - <level value="INFO"/>  
1112 - <appender-ref ref="PAYMENT_OFFLINECASH"/>  
1113 - </logger>  
1114 -  
1115 - <!-- OfflineCashPay -->  
1116 - <logger name="productStorageLogger" additivity="true">  
1117 - <level value="INFO"/>  
1118 - <appender-ref ref="PRODUCT_STORAGE"/>  
1119 - </logger>  
1120 -  
1121 - <logger name="cmbpayLogger" additivity="true">  
1122 - <level value="INFO"/>  
1123 - <appender-ref ref="PAYMENT_CMBPAY"/>  
1124 - <appender-ref ref="PAYMENTERR_CMBPAY"/>  
1125 - </logger>  
1126 -  
1127 <!-- 用户登录日志 --> 510 <!-- 用户登录日志 -->
1128 <logger name="loginLog" additivity="false"> 511 <logger name="loginLog" additivity="false">
1129 <level value="INFO"/> 512 <level value="INFO"/>