Skip to content

Commit 1f10128

Browse files
committed
gh-29920: "Customizing the Banner" should make it more obvious that any environment property can be used
- update spring-application.adoc file to add info about Environment Key can be used in banner.txt
1 parent e2a6891 commit 1f10128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ TIP: If you want to disable lazy initialization for certain beans while using la
106106
The banner that is printed on start up can be changed by adding a `banner.txt` file to your classpath or by setting the configprop:spring.banner.location[] property to the location of such a file.
107107
If the file has an encoding other than UTF-8, you can set `spring.banner.charset`.
108108

109-
Inside your `banner.txt` file, you can use any of the following placeholders:
109+
Inside your `banner.txt` file, you can use any key available in the `Environment` as well as any of the following placeholders:
110110

111111
.Banner variables
112112
|===

0 commit comments

Comments
 (0)