From 1b6b909f6e4975d26d8f7e70fb18a0cf43d7c93e Mon Sep 17 00:00:00 2001
From: hurui <177768073@qq.com>
Date: Thu, 23 May 2024 17:05:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=BE=85=E5=91=BD1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/java/com/bweb/config/SysConfig.java | 3 +-
order/src/main/resources/dev/logback.xml | 89 ++++++++++++
order/src/main/resources/prod/logback.xml | 133 ++++++++++++++++++
3 files changed, 224 insertions(+), 1 deletion(-)
diff --git a/bweb/src/main/java/com/bweb/config/SysConfig.java b/bweb/src/main/java/com/bweb/config/SysConfig.java
index 3887b84..941c194 100644
--- a/bweb/src/main/java/com/bweb/config/SysConfig.java
+++ b/bweb/src/main/java/com/bweb/config/SysConfig.java
@@ -1,5 +1,6 @@
package com.bweb.config;
+import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
@@ -8,7 +9,7 @@ import org.springframework.stereotype.Component;
@Component("sysConfig")
@ConfigurationProperties
@PropertySource("classpath:/config.properties")
-@Getter
+@Data
public class SysConfig {
private String fileUrl;
diff --git a/order/src/main/resources/dev/logback.xml b/order/src/main/resources/dev/logback.xml
index a036789..f9fe162 100644
--- a/order/src/main/resources/dev/logback.xml
+++ b/order/src/main/resources/dev/logback.xml
@@ -92,6 +92,95 @@
+
+
+ log/PayNotifyLog.log
+
+ log/PayNotify/PayNotifyLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+
+ log/HltCouponLog.log
+
+ log/HltCoupon/HltCouponLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ log/HltCardLog.log
+
+ log/HltCard/HltCouponLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ log/ChongQingCNPCLog.log
+
+ log/ChongQingCNPC/ChongQingCNPCLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
log/petroLog.log
diff --git a/order/src/main/resources/prod/logback.xml b/order/src/main/resources/prod/logback.xml
index e509de0..7fbb9df 100644
--- a/order/src/main/resources/prod/logback.xml
+++ b/order/src/main/resources/prod/logback.xml
@@ -69,4 +69,137 @@
+
+
+
+
+ log/petroLog.log
+
+ log/ScPetroLog/ScPetroLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+ log/PayNotifyLog.log
+
+ log/PayNotify/PayNotifyLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+
+ log/HltCouponLog.log
+
+ log/HltCoupon/HltCouponLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ log/HltCardLog.log
+
+ log/HltCard/HltCouponLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ log/ChongQingCNPCLog.log
+
+ log/ChongQingCNPC/ChongQingCNPCLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ log/petroLog.log
+
+ log/PcytCNPC/PcytCNPCCouponLog.log.%d.%i
+
+
+ 64 MB
+
+
+
+
+ %d %p (%file:%line\)- %m%n
+
+ UTF-8
+
+
+
+
+
+