title: Disable logging for Spring Integration
body: <p>I am using log4j in my project and i do not want to see any of the integration related information in my application log.</p>
  
  <p>So i did following and it worked fine</p>
  
  <pre><code>log4j.logger.org.springframework.integration=OFF, webapp, stdout
  </code></pre>
  
  <p>However recently i have introduced a JDBC outbound adapter as below</p>
  
  <pre><code>&lt;int-jdbc:outbound-channel-adapter 
      data-source="pooledDataSource" 
      channel="bstListenerResultToDatabaseLogChannel"
      query="INSERT INTO INTEGRATION_LOG 
          (unique_id,flow,status,type,process_start_date,process_end_date) 
          VALUES(:payload.uniqueId, :payload.flow, :payload.status, :payload.messageType, :payload.processStartDate, :payload.processEndDate)"
      /&gt;
  </code></pre>
  
  <p>Then in the Log file it started appearing the above sql insert statement as below</p>
  
  <pre><code>DEBUG (JdbcTemplate.java:616) - Executing prepared SQL statement [INSERT INTO INTEGRATION_LOG(unique_id,flow,status,type ......
  </code></pre>
  
  <p>I assume that the JDBC output adapters use JDBC templates to execute the sql statements and it appears in the logs as a result of that. Is there any way of get rid of these kind of log entries through the log4j</p>
  
  <p>Thanks,
  Keth</p>