diff --git a/buyer-api/src/main/resources/application.yml b/buyer-api/src/main/resources/application.yml
index fa22d1d5..22307655 100644
--- a/buyer-api/src/main/resources/application.yml
+++ b/buyer-api/src/main/resources/application.yml
@@ -259,7 +259,8 @@ lili:
# account:
# username: elastic
# password: LiLiShopES
-
+ logstash:
+ server: 192.168.0.116:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
diff --git a/buyer-api/src/main/resources/logback.xml b/buyer-api/src/main/resources/logback.xml
new file mode 100644
index 00000000..4e5e5ef5
--- /dev/null
+++ b/buyer-api/src/main/resources/logback.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+ ${APP_NAME}
+
+
+
+ ${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log
+ 30
+
+
+ ${FILE_LOG_PATTERN}
+
+
+
+
+
+ 127.0.0.1:4560
+
+
+
+ UTC
+
+
+
+ {"appName":"${APP_NAME}"}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/common-api/src/main/resources/logback.xml b/common-api/src/main/resources/logback.xml
new file mode 100644
index 00000000..46c868ce
--- /dev/null
+++ b/common-api/src/main/resources/logback.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ ${APP_NAME}
+
+
+
+ ${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log
+ 30
+
+
+ ${FILE_LOG_PATTERN}
+
+
+
+
+
+
+ 127.0.0.1:4560
+
+
+
+ UTC
+
+
+
+ {"appName":"${APP_NAME}"}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/application.yml b/config/application.yml
index 38c732bd..c2387c8c 100644
--- a/config/application.yml
+++ b/config/application.yml
@@ -260,6 +260,8 @@ lili:
# username: elastic
# password: LiLiShopES
+ logstash:
+ server: 192.168.0.116:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
diff --git a/consumer/src/main/resources/logback.xml b/consumer/src/main/resources/logback.xml
new file mode 100644
index 00000000..e4de4ff4
--- /dev/null
+++ b/consumer/src/main/resources/logback.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ ${APP_NAME}
+
+
+
+ ${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log
+ 30
+
+
+ ${FILE_LOG_PATTERN}
+
+
+
+
+
+
+ 127.0.0.1:4560
+
+
+
+ UTC
+
+
+
+ {"appName":"${APP_NAME}"}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/pom.xml b/framework/pom.xml
index 49ffefd8..d9a60488 100644
--- a/framework/pom.xml
+++ b/framework/pom.xml
@@ -47,42 +47,14 @@
1.2
5.0.0
5.0.0
+ 6.6
+ 3.4.1
+ 1.7.28
+ 2.2.0
-
- javax.interceptor
- javax.interceptor-api
- ${interceptor-api}
-
-
- de.codecentric
- spring-boot-admin-starter-client
- ${de.codecentric}
-
-
-
- com.google.zxing
- core
- 3.4.1
-
-
- com.google.zxing
- javase
- 3.4.1
-
-
- org.slf4j
- slf4j-api
- 1.7.28
-
-
-
- com.github.xkzhangsan
- xk-time
- 2.2.0
-
org.springframework.boot
spring-boot-starter-web
@@ -380,6 +352,44 @@
poi-ooxml
${poi-ooxml-version}
+
+
+ net.logstash.logback
+ logstash-logback-encoder
+ ${logstash-logback-encoder}
+
+
+ javax.interceptor
+ javax.interceptor-api
+ ${interceptor-api}
+
+
+ de.codecentric
+ spring-boot-admin-starter-client
+ ${de.codecentric}
+
+
+
+ com.google.zxing
+ core
+ ${zxing}
+
+
+ com.google.zxing
+ javase
+ ${zxing}
+
+
+ org.slf4j
+ slf4j-api
+ ${slf4j-api}
+
+
+
+ com.github.xkzhangsan
+ xk-time
+ ${xk-time}
+
diff --git a/manager-api/src/main/resources/manager.xml b/manager-api/src/main/resources/manager.xml
new file mode 100644
index 00000000..46c868ce
--- /dev/null
+++ b/manager-api/src/main/resources/manager.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ ${APP_NAME}
+
+
+
+ ${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log
+ 30
+
+
+ ${FILE_LOG_PATTERN}
+
+
+
+
+
+
+ 127.0.0.1:4560
+
+
+
+ UTC
+
+
+
+ {"appName":"${APP_NAME}"}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/seller-api/src/main/resources/logback.xml b/seller-api/src/main/resources/logback.xml
new file mode 100644
index 00000000..28ed75c2
--- /dev/null
+++ b/seller-api/src/main/resources/logback.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ ${APP_NAME}
+
+
+
+ ${LOG_FILE_PATH}/${APP_NAME}-%d{yyyy-MM-dd}.log
+ 30
+
+
+ ${FILE_LOG_PATTERN}
+
+
+
+
+
+
+ 127.0.0.1:4560
+
+
+
+ UTC
+
+
+
+ {"appName":"${APP_NAME}"}
+
+
+
+
+
+
+
+
\ No newline at end of file