From a026cabf43ac655d61dbf3e1d7815aa12c8b4f5c1dcec82cfecf75c4efc1fbf5 Mon Sep 17 00:00:00 2001 From: attiya <2413103649@qq.com> Date: Wed, 14 Jan 2026 09:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ebike-report/src/main/resources/application-prod.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ebike-report/src/main/resources/application-prod.yml b/ebike-report/src/main/resources/application-prod.yml index 7f0e971..a276471 100644 --- a/ebike-report/src/main/resources/application-prod.yml +++ b/ebike-report/src/main/resources/application-prod.yml @@ -1,5 +1,5 @@ server: - port: 10015 + port: 10016 spring: application: name: ebike-report @@ -14,7 +14,7 @@ spring: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 kafka: - bootstrap-servers: 47.109.141.125:9092 + bootstrap-servers: 192.168.1.11:9092 producer: retries: 0 key-serializer: org.apache.kafka.common.serialization.StringSerializer @@ -55,4 +55,10 @@ management: include: health,info endpoint: health: - show-details: always \ No newline at end of file + show-details: always + +logging: + file: + name: logs/${spring.application.name}.log + pattern: + dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒 \ No newline at end of file