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

   ### Description
   
   While using the Tableau Sensor to wait for a job to be completed, it only 
prints the job id into the log and not the friendly object type or name. 
   
   Please include the Object Name in the Sensor Log for any object (Workbook, 
Datasource, Fllow, User) rather than only the associated LUID. Currently it 
only lists the ID which gets hard to track and follow with dynamic tasks and 
other large volume installations. 
   
   Example of the current output of the Tableau Sensor Log:  Note the 
highlighted items:
   >▶ Log message source details
   >[2025-04-23, 17:24:23 UTC] {local_task_job_runner.py:123} ▶ Pre task 
execution logs
   >[2025-04-23, 17:24:23 UTC] {base.py:84} INFO - Retrieving connection 
'tableau_conn'
   >[2025-04-23, 17:24:23 UTC] {server.py:246} INFO - versions: 3.23, 2.4
   >[2025-04-23, 17:24:24 UTC] {auth_endpoint.py:91} INFO - **_Signed into 
https://tableau-corp.trinet.com/ as user with >id 
ae9999b4-de0a-9dfe-9b95-09d99ee999e7_**
   >[2025-04-23, 17:24:24 UTC] {jobs_endpoint.py:140} INFO - **_Query for 
information about job 99a9999e-b999-99a9->9fh9-bee99999f4c3_**
   >[2025-04-23, 17:24:24 UTC] {tableau.py:73} INFO - Current finishCode is 
SUCCESS (0)
   >[2025-04-23, 17:24:24 UTC] {auth_endpoint.py:115} INFO - Signed out
   >[2025-04-23, 17:24:24 UTC] {base.py:339} INFO - Success criteria met. 
Exiting.
   >[2025-04-23, 17:24:24 UTC] {taskinstance.py:341} ▶ Post task execution logs
   
   
   **NOTE:** Can the following message include the type of object that fails to 
refresh? Currently it is hardcoded as a Workbook.
   
   The output is hardcoded to "Workbook" regardless of if you are refreshing 
another object type such as a Datasource
      - Code issue reference:  
   
[/providers.tableau.sensors.tableau.py](https://github.com/apache/airflow/blob/e889112f3e2b1c6649d0279a98009aeb8fe22482/providers/tableau/src/airflow/providers/tableau/sensors/tableau.py#L76)
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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

Reply via email to