问题
I'm migrating an application from Spring Boot 1.x to 2.x and I found some entries in the logback configuration which use a LevelRemappingAppender
, like this:
<appender name="DEBUG_LEVEL_REMAPPER" class="org.springframework.boot.logging.logback.LevelRemappingAppender">
<destinationLogger>org.springframework.boot</destinationLogger>
</appender>
org.springframework.boot.logging.logback.LevelRemappingAppender
doesn't exist in Boot 2 and I can't find a replacement nor any mention in the migration guide.
Is there an easy way to include this Logback remapping functionality in Spring Boot 2?
来源:https://stackoverflow.com/questions/50407297/replacement-for-logback-levelremappingappender-in-spring-boot-2