Skip to content

Commit

Permalink
Polish "Polish formatting of log configuration file"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Dec 4, 2024
1 parent 3f17e42 commit cc274cc
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="CONSOLE"/>
</root>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<included>
<springProfile name="production">
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
</springProfile>
</included>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<included>
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="default-test" />
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="default-test"/>
</included>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProfile name="production, test">
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
</springProfile>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProfile name="outer">
<springProfile name="inner">
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
</springProfile>
</springProfile>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProfile name="production">
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
</springProfile>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProfile name="production | test">
<logger name="org.springframework.boot.logging.logback" level="TRACE" />
<logger name="org.springframework.boot.logging.logback" level="TRACE"/>
</springProfile>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/include-with-profile.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/include-with-profile.xml"/>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProperty scope="context" name="SIMPLE" source="testpropertyfoobar" defaultValue="foo"/>
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="bar"/>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<springProperty scope="context" name="MINE" source="my.example-property" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProperty scope="context" name="MINE" source="my.example-property"/>
<if condition='property("MINE").contains("true")'>
<then>
<variable scope="context" name="MYCHECK" value="i-was-included" />
<variable scope="context" name="MYCHECK" value="i-was-included"/>
</then>
</if>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/include-with-property.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/include-with-property.xml"/>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<springProperty scope="context" name="SIMPLE" source="testpropertyfoobar"/>
<springProperty scope="context" name="MINE" source="my.example-property"/>
</configuration>

0 comments on commit cc274cc

Please sign in to comment.