From 6ea9e4e9cc402b6756b36e42136039e50a639936 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Thu, 9 Oct 2025 23:48:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0fluentbit=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-service/src/main/resources/application.yml | 2 +- home-service/src/main/resources/application-docker.yml | 7 ++++++- home-service/src/main/resources/logback-spring.xml | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/admin-service/src/main/resources/application.yml b/admin-service/src/main/resources/application.yml index c11799a..07586af 100644 --- a/admin-service/src/main/resources/application.yml +++ b/admin-service/src/main/resources/application.yml @@ -6,7 +6,7 @@ spring: name: @project.artifactId@ version: @project.version@ profiles: - active: prod + active: dev servlet: multipart: max-file-size: 10MB diff --git a/home-service/src/main/resources/application-docker.yml b/home-service/src/main/resources/application-docker.yml index 848977f..58e55e5 100644 --- a/home-service/src/main/resources/application-docker.yml +++ b/home-service/src/main/resources/application-docker.yml @@ -6,4 +6,9 @@ spring: password: 19940822Cxx@1213 file: - path: /upload-file/ \ No newline at end of file + path: /upload-file/ + +logging: + fluentd: + host: host.docker.internal + port: 24224 \ No newline at end of file diff --git a/home-service/src/main/resources/logback-spring.xml b/home-service/src/main/resources/logback-spring.xml index 0ff7af7..a1b1425 100644 --- a/home-service/src/main/resources/logback-spring.xml +++ b/home-service/src/main/resources/logback-spring.xml @@ -113,7 +113,7 @@ - tag2 + tag ${fluentdHost} ${fluentdPort} @@ -143,7 +143,7 @@ - + \ No newline at end of file