From 1f10128e9cbd7cded29bdb2b1836a59fa52540e9 Mon Sep 17 00:00:00 2001 From: UbaidurRehman1 Date: Tue, 22 Feb 2022 00:00:57 +0500 Subject: [PATCH] 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 --- .../src/docs/asciidoc/features/spring-application.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc index c7ea752a887a..c46dd1297944 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/spring-application.adoc @@ -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 |===