pingzh commented on code in PR #23684:
URL: https://github.com/apache/airflow/pull/23684#discussion_r871980307
##########
airflow/models/taskinstance.py:
##########
@@ -594,6 +594,8 @@ def insert_mapping(run_id: str, task: "Operator",
map_index: int) -> dict:
@reconstructor
def init_on_load(self):
"""Initialize the attributes that aren't stored in the DB"""
+ # correctly config the ti log
+ self._log = logging.getLogger("airflow.task")
Review Comment:
nice. updated. pls take a look.
--
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]