[Upgrade] Spring Boot Admin 2.2.1 release, the repair of the logging issue

maven dependent coordinates

<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-starter-server</artifactId>
    <version>2.2.1</version>
</dependency>
<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-starter-client</artifactId>
    <version>2.2.1</version>
</dependency>复制代码

New Russian international language

The new international language, you can refer to the complete [pull request] (https://github.com/codecentric/spring-boot-admin/pull/1331/files) to achieve

Resolution Services instance set the log level function failure

Support the unified management of service instances log level, such as upmsstart more than one instance, the set here will affect all service instances

PS: 此功能是 2.2.0 支持, appears 2.2.0 bug, see figure below

Request failed with status code 406复制代码

The main service is to take the log level Acceptsetting error

async fetchLoggers() {
    const responses = convertBody(
      (await this.axios.get(uri`actuator/loggers`, {headers: {'Accept': actuatorMimeTypes}})).data
      (await this.axios.get(uri`actuator/loggers`, {headers: {'Accept': actuatorMimeTypes.join(',')}})).data
    );
}复制代码

image

Guess you like

Origin juejin.im/post/5e05efd76fb9a0165e332258