-
Notifications
You must be signed in to change notification settings - Fork 40.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt to changes in Logback include processing
Fixes gh-40491
- Loading branch information
1 parent
86a3099
commit 3c00bf3
Showing
6 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...boot/src/test/resources/org/springframework/boot/logging/logback/include-with-profile.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<included> | ||
<springProfile name="production"> | ||
<logger name="org.springframework.boot.logging.logback" level="TRACE" /> | ||
</springProfile> | ||
</included> |
3 changes: 3 additions & 0 deletions
3
...oot/src/test/resources/org/springframework/boot/logging/logback/include-with-property.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<included> | ||
<springProperty scope="context" name="MINE" source="my.example-property" defaultValue="default-test" /> | ||
</included> |
5 changes: 5 additions & 0 deletions
5
...g-boot/src/test/resources/org/springframework/boot/logging/logback/profile-in-include.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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" /> | ||
</configuration> |
5 changes: 5 additions & 0 deletions
5
...-boot/src/test/resources/org/springframework/boot/logging/logback/property-in-include.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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" /> | ||
</configuration> |