Kenny Wong
Kenny Wong
@sdomeshok - Agree that there might be a better way to handle it. As a temporary workaround to the log flood, I wonder if you can override the default logger...
FWIW - This is the full stacktrace ``` ERROR [airflow.models.dagbag.DagBag] Failed to write serialized DAG: /usr/local/airflow/dags/airflow-db-cleanup.py Traceback (most recent call last): File "/root/.local/share/virtualenvs/airflow-8LJOcfRp/lib/python3.8/site-packages/airflow/models/dagbag.py", line 591, in _serialize_dag_capturing_errors dag_was_updated = SerializedDagModel.write_dag(...