BAEL-1970 fixed formatting in xml files

This commit is contained in:
mprevisic 2019-04-10 15:52:47 +02:00
parent 7186d96b12
commit c3bd97f39a
2 changed files with 28 additions and 28 deletions

View File

@ -1,18 +1,18 @@
<configuration> <configuration>
<include resource="/org/springframework/boot/logging/logback/basse.xml" /> <include resource="/org/springframework/boot/logging/logback/basse.xml"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder> <encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern> </pattern>
</encoder> </encoder>
</appender> </appender>
<root level="error"> <root level="error">
<appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT"/>
</root> </root>
<springProfile name="logback-test1"> <springProfile name="logback-test1">
<logger name="com.baeldung.testloglevel" level="info" /> <logger name="com.baeldung.testloglevel" level="info"/>
</springProfile> </springProfile>
<springProfile name="logback-test2"> <springProfile name="logback-test2">
<logger name="com.baeldung.testloglevel" level="trace" /> <logger name="com.baeldung.testloglevel" level="trace"/>
</springProfile> </springProfile>
</configuration> </configuration>

View File

@ -1,13 +1,13 @@
<configuration> <configuration>
<include resource="/org/springframework/boot/logging/logback/basse.xml" /> <include resource="/org/springframework/boot/logging/logback/basse.xml"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder> <encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern> </pattern>
</encoder> </encoder>
</appender> </appender>
<root level="error"> <root level="error">
<appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT"/>
</root> </root>
<logger name="com.baeldung.testloglevel" level="debug" /> <logger name="com.baeldung.testloglevel" level="debug"/>
</configuration> </configuration>