title: Debugging Broken DAGs
body: <p>When the airflow webserver shows up errors like <code>Broken DAG: [&lt;path/to/dag&gt;] &lt;error&gt;</code>, how and where can we find the full stacktrace for these exceptions?</p>
  
  <p>I tried these locations:</p>
  
  <p><code>/var/log/airflow/webserver</code> -- had no logs in the timeframe of execution, other logs were in binary and decoding with <code>strings</code> gave no useful information.</p>
  
  <p><code>/var/log/airflow/scheduler</code> -- had some logs but were in binary form, tried to read them and looked to be mostly sqlalchemy logs probably for airflow's database.</p>
  
  <p><code>/var/log/airflow/worker</code> -- shows up the logs for running DAGs, (same as the ones you see on the airflow page)</p>
  
  <p>and then also under <code>/var/log/airflow/rotated</code> -- couldn't find the stacktrace I was looking for.</p>
  
  <p>I am using airflow v1.7.1.3</p>