feat:增加fluentbit日志

This commit is contained in:
2025-10-09 23:48:55 +08:00
parent b3a2844f5a
commit 6ea9e4e9cc
3 changed files with 9 additions and 4 deletions

View File

@@ -6,4 +6,9 @@ spring:
password: 19940822Cxx@1213
file:
path: /upload-file/
path: /upload-file/
logging:
fluentd:
host: host.docker.internal
port: 24224

View File

@@ -113,7 +113,7 @@
<!--输出到FLUENCY-->
<appender name="FLUENCY" class="ch.qos.logback.more.appenders.FluencyLogbackAppender">
<tag>tag2</tag>
<tag>tag</tag>
<remoteHost>${fluentdHost}</remoteHost>
<port>${fluentdPort}</port>
<additionalField>
@@ -143,7 +143,7 @@
<springProfile name="docker">
<root level="INFO">
<appender-ref ref="CONSOLE"/>
<!-- <appender-ref ref="FLUENCY"/>-->
<appender-ref ref="FLUENCY"/>
</root>
</springProfile>
</configuration>