title: Airflow giving log file does not exist error while running on Docker
body: <p>The scheduler and the webserver are being run on different containers and when I run a DAG and check the logs on the webserver, it shows me this particular error.</p>
  
  <pre><code>*** Log file does not exist: /usr/local/airflow/logs/indexing/index_articles/2019-12-31T00:00:00+00:00/1.log
  *** Fetching from: http://465e0f4a4332:8793/log/indexing/index_articles/2019-12-31T00:00:00+00:00/1.log
  *** Failed to fetch log file from worker. HTTPConnectionPool(host='465e0f4a4332', port=8793): Max retries exceeded with url: /log/indexing/index_articles/2019-12-31T00:00:00+00:00/1.log (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f0a143700d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused'))
  </code></pre>
  
  <p>I set the airflow variables as mentioned in this other similar question and the only variables that I'm changing on the cfg files are these.</p>
  
  <pre><code>AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:airflow@postgres:5432/airflow
  AIRFLOW__CORE__LOAD_EXAMPLES=False
  AIRFLOW__CORE__BASE_URL = http://{hostname}:8080
  </code></pre>
  
  <p>I manually checked and log files are being generated properly, I'm assuming the only problem is the url not being publically accessible through the webserver container. I'm not sure where I'm messing it up and I'm running and testing this in the local.</p>