Skip to content

Commit

Permalink
gh-29920: "Customizing the Banner" should make it more obvious that a…
Browse files Browse the repository at this point in the history
…ny environment property can be used

- update spring-application.adoc file to add info about Environment Key can be used in banner.txt
  • Loading branch information
ubaid4j committed Feb 21, 2022
1 parent e2a6891 commit 1f10128
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ TIP: If you want to disable lazy initialization for certain beans while using la
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.
If the file has an encoding other than UTF-8, you can set `spring.banner.charset`.

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

.Banner variables
|===
Expand Down

0 comments on commit 1f10128

Please sign in to comment.