GH-115 - Polish up example.
Upgraded to Spring Boot 3.0.1. Added starters for web and added configuration to expose applicationmodules actuator. Tweak logs to follow Boot's default configuration. Removed obsolete milestone repository.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
spring.jackson.constructor-detector=use-properties-based
|
||||
|
||||
spring.jpa.show-sql=true
|
||||
|
||||
logging.level.org.springframework.modulith=info
|
||||
management.endpoints.web.exposure.include=health,applicationmodules
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d %5p %40.40c:%4L - %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="org.springframework.modulith" level="info" />
|
||||
<logger name="example" level="info" />
|
||||
|
||||
<root level="error">
|
||||
<appender-ref ref="console" />
|
||||
|
||||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
||||
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
|
||||
|
||||
<root level="INFO">
|
||||
<appender-ref ref="CONSOLE" />
|
||||
</root>
|
||||
|
||||
|
||||
<logger name="org.springframework.modulith" level="DEBUG"/>
|
||||
<logger name="example" level="INFO" />
|
||||
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user