Skip to content

Commit b6cb629

Browse files
committed
Document the logger category used to show password
Fixes gh-2146
1 parent 358ad0d commit b6cb629

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,10 @@ password, printed at INFO level when the application starts up)
13301330
Using default security password: 78fa095d-3f4c-48b1-ad50-e24c31d5cf35
13311331
----
13321332

1333+
NOTE: If you fine tune your logging configuration, ensure that the
1334+
`org.springframework.boot.autoconfigure.security` category is set to log `INFO` messages,
1335+
otherwise the default password will not be printed.
1336+
13331337
You can change the password by providing a `security.user.password`. This and other
13341338
useful properties are externalized via
13351339
{sc-spring-boot-autoconfigure}/security/SecurityProperties.{sc-ext}[`SecurityProperties`]

0 commit comments

Comments
 (0)