Fixes spring-projects/spring-integration#2100 Also add a sample how to configure logging channel adapter from Java DSL