raphaelauv edited a comment on issue #20213:
URL: https://github.com/apache/airflow/issues/20213#issuecomment-991689912
Warnings are also present in
`/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87`
```log
[2021-12-11, 15:40:15 UTC] {standard_task_runner.py:77} INFO - Job 11:
Subtask also_run_this
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'execution_date' from the template is deprecated
and will be removed in a future version. Please use 'data_interval_start' or
'logical_date' instead.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'next_ds' from the template is deprecated and
will be removed in a future version. Please use '{{ data_interval_end | ds }}'
instead.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'next_ds_nodash' from the template is deprecated
and will be removed in a future version. Please use '{{ data_interval_end |
ds_nodash }}' instead.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'next_execution_date' from the template is
deprecated and will be removed in a future version. Please use
'data_interval_end' instead.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'prev_ds' from the template is deprecated and
will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'prev_ds_nodash' from the template is deprecated
and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'prev_execution_date' from the template is
deprecated and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'prev_execution_date_success' from the template
is deprecated and will be removed in a future version. Please use
'prev_data_interval_start_success' instead.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'tomorrow_ds' from the template is deprecated
and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'tomorrow_ds_nodash' from the template is
deprecated and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'yesterday_ds' from the template is deprecated
and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/utils/log/file_task_handler.py:87
DeprecationWarning: Accessing 'yesterday_ds_nodash' from the template is
deprecated and will be removed in a future version.
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} INFO - Running
<TaskInstance: a_nice_dag.also_run_this scheduled__2021-12-10T00:00:00+00:00
[running]> on host c1353674fc71
[2021-12-11, 15:40:15 UTC] {logging_mixin.py:109} WARNING -
/usr/local/lib/python3.9/site-packages/airflow/models/baseoperator.py:1107
DeprecationWarning: Accessing 'execution_date' from the template is deprecated
and will be removed in a future version. Please use 'data_interval_start' or
'logical_date' instead.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]