title: Apache Airflow with SQL Server database and logging
body: <p>I have Microsoft SQLServer based stored procedure say <code>sp1</code> which has print statements.</p>
  
  <p>Like below - </p>
  
  <pre><code>print 'Task1 has finished'
  print 'Task2 has finished'
  </code></pre>
  
  <p>I would like this print statement to show up in Apache Airflow after airflow triggers <code>sp1</code> and these print statements should show up in the view log for that stored procedure.</p>
  
  <p>If we execute a python operator all the print statements show up in log but not when you run a Microsoft SQL Server stored procedure on Apache Airflow.</p>
  
  <p>Any help is appreciated.</p>
  
  <pre><code>Exec sp1
  </code></pre>