wyndhblb commented on issue #12969:
URL: https://github.com/apache/airflow/issues/12969#issuecomment-743228457
Adding some debug logging to things confirms as well, the sessionis being
closed before the logger is run.
```
export AIRFLOW__LOGGING__LOGGING_LEVEL=debug
aiflow tasks run dummydag dummtasks "2020-12-10T00:00:00+00:00" --local
--pool default_pool --subdir /dags/dummydag.py
Running <TaskInstance: dummydag.dummtasks2020-12-10T00:00:00+00:00
[success]> on host bobotest
[2020-12-11 14:34:03,358] {cli_action_loggers.py:84} DEBUG - Calling
callbacks: []
[2020-12-11 14:34:03,358] {base.py:337} DEBUG - No metrics to flush.
Continuing.
[2020-12-11 14:34:03,359] {base.py:345} DEBUG - No distributions to flush.
Continuing.
[2020-12-11 14:34:03,359] {base.py:355} DEBUG - No events to flush.
Continuing.
[2020-12-11 14:34:03,359] {settings.py:290} DEBUG - Disposing DB connection
pool (PID 30)
[2020-12-11 14:34:03,367] {s3_task_handler.py:183} ERROR - Could not verify
previous log to append: 'NoneType' object is not callable
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]