The javadoc of StructuredLoggingJsonMembersCustomizer doesn't mention that, and I'm failed to reproduce it, I believe it cannot be loaded from spring.factories.

Comment From: wilkinsona

Thanks, @quaff, but the documentation is correct. The customisers are loaded here:

https://github.com/spring-projects/spring-boot/blob/74d69d0eb150d5f17e3715f225eb4f5809df9202/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/StructuredLogFormatterFactory.java#L105-L109

If that's not working for you, please open an issue with a minimal sample and we can investigate.

Comment From: quaff

@wilkinsona #43312 created.