To override the default Jackson2JsonEncoder, I have to set to false CodecConfigurer#registerDefaults
and register my custom Jackson2JsonEncoder using CodecConfigurer#customCodecs. Hence I cannot rely anymore on Spring Boot to add the LoggingCodecConfiguration or potential future configuration improvements.