1.loggin和jms使用需要配置logback和增加jolokia-core依赖:
To make the logging section work you need to make the /jolokia-endpoint accessible.
Include the jolokia-core.jar in your spring-boot-application:
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
</dependency>
Please note that the logging section currently only works with Logback.
To make the section work with Logback please activate the JMXConfigurator in your logback.xml:
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<jmxConfigurator/>
</configuration>
To make the logging section work you need to make the /jolokia-endpoint accessible.
Include the jolokia-core.jar in your spring-boot-application:
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
</dependency>
Please note that the logging section currently only works with Logback.
To make the section work with Logback please activate the JMXConfigurator in your logback.xml:
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<jmxConfigurator/>
</configuration>