title: Logging in spring integration java DSL
body: <p>I want to print message log in the console and write in a log file. I am trying with <strong><em>logging-channel-adapter</em></strong>, <strong><em>LoggingHandler</em></strong>
  please give me sample code. 
  Thank you</p>