Use a single customizer property for JSON logging

Update `StructuredLoggingJsonProperties` no that only a single
`customizer` property is supported.

See gh-43368
This commit is contained in:
Phillip Webb
2025-01-29 11:09:24 -08:00
parent 035c80aa5b
commit c1cb4c51ed
7 changed files with 21 additions and 61 deletions

View File

@@ -642,7 +642,7 @@ logging:
----
TIP: For more advanced customizations, you can use the javadoc:org.springframework.boot.logging.structured.StructuredLoggingJsonMembersCustomizer[] interface.
You can reference a single implementation using the configprop:logging.structured.json.customizer[] property, or use configprop:logging.structured.json.customizers[] if you have more than one.
You can reference a one or more implementations using the configprop:logging.structured.json.customizer[] property.
You can also declare implementations by listing them in a `META-INF/spring.factories` file.