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

   ### Apache Airflow version
   
   2.10.4
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Apache Airflow Version: 2.10.4
   Previous Version (Worked as Expected): 2.9.3
   Environment: Provide relevant details (e.g., deployment method, OS, executor 
type)
   
   Description
   After upgrading Airflow from 2.9.3 to 2.10.4, I observed that the log_url 
function is generating incorrect URLs. The returned URL does not match the log 
view page URL in the UI.
   
   incorrect: 
https://host/dags/dag_id/grid?dag_run_id=manual__2025-02-07T03%3A25%3A19.637151%2B00%3A00&task_id=xyz&base_date=2025-02-07T03%3A25%3A19%2B0000&tab=logs
   
   It should be:
   
https://host/dags/dag_id/grid?tab=logs&dag_run_id=manual__2025-02-07T03%3A25%3A19.637151%2B00%3A00&task_id=xyz
   
   Would appreciate any insights from the maintainers on this issue. Thanks!
   
   ### What you think should happen instead?
   
   
https://host/dags/dag_id/grid?tab=logs&dag_run_id=manual__2025-02-07T03%3A25%3A19.637151%2B00%3A00&task_id=xyz
   
   NOTE: Please verify once.
   
   ### How to reproduce
   
   - Upgrade Airflow from 2.9.3 to 2.10.4.
   - Retrieve log_url from Airflow task instance metadata.
   - Compare the generated URL with the actual log view page in the UI.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   2.10.4
   
   ### 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: [email protected]

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

Reply via email to