add 完成 ELK 整合

This commit is contained in:
疯狂的狮子li
2022-07-12 11:41:59 +08:00
parent 93e52ae6ac
commit fae0df1905
28 changed files with 175 additions and 88 deletions

View File

@@ -71,6 +71,12 @@
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-common-loadbalancer</artifactId>-->
<!-- </dependency>-->
<!-- ELK 日志收集 -->
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-common-logstash</artifactId>-->
<!-- </dependency>-->
</dependencies>

View File

@@ -99,6 +99,8 @@
<appender-ref ref="file_error"/>
</appender>
<include resource="logback-logstash.xml" />
<!--系统操作日志-->
<root level="info">
<appender-ref ref="console"/>