代码更新

This commit is contained in:
ludj
2023-02-07 21:41:51 +08:00
parent e39db6e6f0
commit 80160c1569
3 changed files with 13 additions and 10 deletions

View File

@@ -27,12 +27,19 @@
<hutool.version>5.7.14</hutool.version>
<jjwt.version>0.11.1</jjwt.version>
<!-- 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>
</properties>
<dependencies>
<!-- 获取系统信息 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>6.1.4</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
@@ -399,12 +406,7 @@
<version>4.1.4</version>
</dependency>
<!-- 获取系统信息 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>5.0.1</version>
</dependency>
<!--loki-->
<!-- https://loki4j.github.io/loki-logback-appender/#quick-start -->

View File

@@ -117,6 +117,7 @@ mybatis-plus:
global-config:
db-config:
id-type: INPUT
banner: false
management:
health:
elasticsearch:

View File

@@ -49,9 +49,9 @@ https://juejin.cn/post/6844903775631572999
<appender name="esLogAppender" class="com.internetitem.logback.elasticsearch.ElasticsearchAppender">
<url>http://47.111.78.178:27017/_bulk</url>
<index>logs-%date{yyyy-MM-dd}</index>
<type>tester</type>
<url>http://10.1.3.90:9200/_bulk</url>
<index>lms_root</index>
<type>lms_root</type>
<loggerName>es-logger</loggerName> <!-- optional -->
<errorLoggerName>es-error-logger</errorLoggerName> <!-- optional -->
<connectTimeout>30000</connectTimeout> <!-- optional (in ms, default 30000) -->