jason810496 commented on issue #49863: URL: https://github.com/apache/airflow/issues/49863#issuecomment-2868274469
Hi @xaerocom , could you try setting `AIRFLOW__ELASTICSEARCH__WRITE_TO_ES` to `'true'` **and** `AIRFLOW__ELASTICSEARCH__WRITE_STDOUT` to `'false'` ? I just checked the condition for when the log handler actually writes logs to Elasticsearch, and it turns out that `write_to_es` needs to be `True` **and** `write_stdout` should be `False`. https://github.com/apache/airflow/blob/main/providers/elasticsearch/src/airflow/providers/elasticsearch/log/es_task_handler.py#L530 -- 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]
