代码更新
This commit is contained in:
@@ -27,12 +27,19 @@
|
|||||||
<hutool.version>5.7.14</hutool.version>
|
<hutool.version>5.7.14</hutool.version>
|
||||||
<jjwt.version>0.11.1</jjwt.version>
|
<jjwt.version>0.11.1</jjwt.version>
|
||||||
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
|
||||||
<jna.version>5.9.0</jna.version>
|
<jna.version>5.8.0</jna.version>
|
||||||
<configuration.version>1.9</configuration.version>
|
<configuration.version>1.9</configuration.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- 获取系统信息 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.oshi</groupId>
|
||||||
|
<artifactId>oshi-core</artifactId>
|
||||||
|
<version>6.1.4</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch.client</groupId>
|
<groupId>org.elasticsearch.client</groupId>
|
||||||
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
||||||
@@ -399,12 +406,7 @@
|
|||||||
<version>4.1.4</version>
|
<version>4.1.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 获取系统信息 -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.github.oshi</groupId>
|
|
||||||
<artifactId>oshi-core</artifactId>
|
|
||||||
<version>5.0.1</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!--loki-->
|
<!--loki-->
|
||||||
<!-- https://loki4j.github.io/loki-logback-appender/#quick-start -->
|
<!-- https://loki4j.github.io/loki-logback-appender/#quick-start -->
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ mybatis-plus:
|
|||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
id-type: INPUT
|
id-type: INPUT
|
||||||
|
banner: false
|
||||||
management:
|
management:
|
||||||
health:
|
health:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|||||||
@@ -49,9 +49,9 @@ https://juejin.cn/post/6844903775631572999
|
|||||||
|
|
||||||
|
|
||||||
<appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
|
<appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
|
||||||
<url>http://47.111.78.178:27017/_bulk</url>
|
<url>http://10.1.3.90:9200/_bulk</url>
|
||||||
<index>logs-%date{yyyy-MM-dd}</index>
|
<index>lms_root</index>
|
||||||
<type>tester</type>
|
<type>lms_root</type>
|
||||||
<loggerName>es-logger</loggerName> <!-- optional -->
|
<loggerName>es-logger</loggerName> <!-- optional -->
|
||||||
<errorLoggerName>es-error-logger</errorLoggerName> <!-- optional -->
|
<errorLoggerName>es-error-logger</errorLoggerName> <!-- optional -->
|
||||||
<connectTimeout>30000</connectTimeout> <!-- optional (in ms, default 30000) -->
|
<connectTimeout>30000</connectTimeout> <!-- optional (in ms, default 30000) -->
|
||||||
|
|||||||
Reference in New Issue
Block a user