Where Are Airflow Logs?

Where Are Airflow Logs?

Users can specify the directory to place log files in airflow. cfg using base_log_folder . By default, logs are placed in the AIRFLOW_HOME directory.

Where are Airflow logs located?

Users can specify a logs folder in airflow. cfg. By default, it is in the AIRFLOW_HOME directory.
...
2 Answers
  1. Select the DAG you just ran and enter into the Graph View .
  2. Select the task in that DAG that you want to view the output of.
  3. In the following popup, click View Log .

How do I enable Airflow logs?

Follow the steps below to enable custom logging config class:
  1. Start by setting environment variable to known directory e.g. ~/airflow/ ...
  2. Create a directory to store the config file e.g. ~/airflow/config.
  3. Create file called ~/airflow/config/log_config.py with following content:
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.