Subham-KRLX commented on PR #64067:
URL: https://github.com/apache/airflow/pull/64067#issuecomment-4132447540
> > @Subham-KRLX can you share screenshots from elastic confirming this
works?
>
> @eladkal I am currently in a remote environment and can't provide a live
Kibana dashboard screenshot however can I share the actual JSON stdout logs and
the passing unit test results from a local run? this will confirm that the
ElasticsearchTaskHandler is correctly restored in the configuration and is
emitting logs to stdout as intended.
{
"asctime": "2026-03-26T13:16:19.650+0530",
"levelname": "INFO",
"message": "end_of_log",
"offset": 1774511179650571008,
"dag_id": "dag_for_testing_es_task_handler",
"task_id": "task_for_testing_es_log_handler",
"logical_date": "2016_01_01T00_00_00_000000",
"try_number": "1",
"log_id":
"dag_for_testing_es_task_handler-task_for_testing_es_log_handler-run_for_testing_es_log_handler--1-1"
}
The test suite also confirms the core fix with 60 passing tests:
providers/elasticsearch/tests/unit/elasticsearch/log/test_es_task_handler.py
[100%]
======= 60 passed in 5.90s =======
This ensures that ElasticsearchTaskHandler is once again respected in the
logging configuration template resolving the regression where stdout logs were
no longer visible.
--
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]