From b6cb629974fd195f6fbede97888a5c65578eaefd Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 7 Jan 2015 14:48:34 -0800 Subject: [PATCH] Document the logger category used to show password Fixes gh-2146 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 4c8ab7012b7..7e45805a4a6 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1330,6 +1330,10 @@ password, printed at INFO level when the application starts up) Using default security password: 78fa095d-3f4c-48b1-ad50-e24c31d5cf35 ---- +NOTE: If you fine tune your logging configuration, ensure that the +`org.springframework.boot.autoconfigure.security` category is set to log `INFO` messages, +otherwise the default password will not be printed. + You can change the password by providing a `security.user.password`. This and other useful properties are externalized via {sc-spring-boot-autoconfigure}/security/SecurityProperties.{sc-ext}[`SecurityProperties`]