chsa21 opened a new issue, #51104: URL: https://github.com/apache/airflow/issues/51104
### Apache Airflow version 3.0.1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? The problem in our system is that the logging does not work. The log files are created empty in the specified folder. I get the following error message in the Airflow GUI: Log message source details: sources=[“/.../run_id=manual__2025-05-27T07:46:05.353328+00:00/task_id=say_hi/attempt=1.log”] ::group::Log message source details: sources=[“/.../run_id=manual__2025-05-27T07:46:05.353328+00:00/task_id=say_hi/attempt=1.log”] The log level is set to DEBUG. An update to version 3.0.1 could not solve the problem either. ### What you think should happen instead? The log file should contain the task information and, in particular, an error message if the task is failed. ### How to reproduce We test the following test_dag: from airflow.decorators import dag, task from datetime import datetime @dag(schedule=None, start_date=datetime(2024, 1, 1), catchup=False) def log_test(): @task def say_hi(): import logging print(“hello from print()”) logging.getLogger(“airflow.task”).info(“hello from logging.info()”) say_hi() dag = log_test() The logfile is empty. ### Operating System Red Hat 9.5 ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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: commits-unsubscr...@airflow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org