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>
Error:
{{ error | json }}
|