GitHub user alex1404 created a discussion: [v3.0.4] Task logs are no longer 
visible in stdout only in files

We have Airflow deployed on Kubernetes, with logs being forwarded to 
Elasticsearch via Fluentd. After upgrading from version 2.10.4 to 3.0.4, we 
encountered an issue where task logs are no longer visible in stdout, which 
previously worked as expected in 2.10.4.

We attempted to use custom logging configurations, but the problem persists. 
Notably, writing logs to files still works correctly.

We would like to continue using Fluentd to send logs to Elasticsearch, rather 
than writing directly to Elasticsearch.

 Do you have any insights into the root cause of this issue or suggestions for 
resolving it?

Apache Airflow
version                | 3.0.4
executor               | LocalExecutor,KubernetesExecutor
task_logging_handler   | 
airflow.providers.elasticsearch.log.es_task_handler.ElasticsearchTaskHandler



[elasticsearch]
write_stdout = True
write_to_es = False

[logging]
remote_logging = True

GitHub link: https://github.com/apache/airflow/discussions/54440

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to