Skip to content

Commit cc274cc

Browse files
committed
Polish "Polish formatting of log configuration file"
See gh-43322
1 parent 3f17e42 commit cc274cc

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

spring-boot-project/spring-boot/src/test/resources/logback-without-extension

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</encoder>
77
</appender>
88
<root level="INFO">
9-
<appender-ref ref="CONSOLE" />
9+
<appender-ref ref="CONSOLE"/>
1010
</root>
1111
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<included>
22
<springProfile name="production">
3-
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
3+
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
44
</springProfile>
55
</included>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<included>
2-
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="default-test" />
2+
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="default-test"/>
33
</included>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
44
<springProfile name="production, test">
5-
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
5+
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
66
</springProfile>
77
</configuration>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
44
<springProfile name="outer">
55
<springProfile name="inner">
6-
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
6+
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
77
</springProfile>
88
</springProfile>
99
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
44
<springProfile name="production">
5-
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
5+
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
66
</springProfile>
77
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
44
<springProfile name="production | test">
5-
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
5+
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
66
</springProfile>
77
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
4-
<include resource="org/springframework/boot/logging/logback/include-with-profile.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
4+
<include resource="org/springframework/boot/logging/logback/include-with-profile.xml"/>
55
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
44
<springProperty scope="context" name="SIMPLE" source="testpropertyfoobar" defaultValue="foo"/>
55
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="bar"/>
66
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<include resource="org/springframework/boot/logging/logback/base.xml" />
4-
<springProperty scope="context" name="MINE" source="my.example-property" />
3+
<include resource="org/springframework/boot/logging/logback/base.xml"/>
4+
<springProperty scope="context" name="MINE" source="my.example-property"/>
55
<if condition='property("MINE").contains("true")'>
66
<then>
7-
<variable scope="context" name="MYCHECK" value="i-was-included" />
7+
<variable scope="context" name="MYCHECK" value="i-was-included"/>
88
</then>
99
</if>
1010
</configuration>

0 commit comments

Comments
 (0)