Aatirhassanpir opened a new issue, #46004:
URL: https://github.com/apache/airflow/issues/46004

   ### Apache Airflow version
   
   2.10.4
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When pausing or unpausing a DAG in Apache Airflow, the logs were not 
reflecting the correct is_paused status. This issue made it difficult to track 
the true state of the DAG in the logs, leading to confusion when debugging or 
monitoring the status of DAGs during execution.
   
   ### What you think should happen instead?
   
   he logs should correctly reflect the is_paused status whenever a DAG is 
paused or unpaused. Specifically:
   
   When a DAG is paused, the log should show is_paused=True.
   When a DAG is unpaused, the log should show is_paused=False.
   This ensures accurate logging for pausing and unpausing events and provides 
more transparency for debugging and operational monitoring.
   
   ### How to reproduce
   
   Create a DAG in Apache Airflow.
   Pause the DAG using the Airflow UI or API (set is_paused=true).
   Check the logs for the corresponding DAG.
   Unpause the DAG using the Airflow UI or API (set is_paused=false).
   Check the logs again.
   You should notice that the logs either do not include the is_paused field or 
display incorrect values.
   
   ### Operating System
   
   windows 11
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   Our Apache Airflow deployment is self-hosted on a Kubernetes cluster. We use 
Helm charts for deployment and manage Airflow's various components (Scheduler, 
Web Server, Workers, etc.) through this setup.
   
   Airflow Version: 2.8.1 (pre-release candidate, testing)
   Infrastructure: Kubernetes (version 1.21)
   Orchestration: Helm (version 3.7)
   Storage: PostgreSQL for metadata storage
   Executor: CeleryExecutor with Redis as the broker
   Web UI: Exposed via an NGINX ingress controller for external access
   Logging: Logs are stored in a centralized logging system using Elasticsearch 
and Kibana for easy search and monitoring
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to