You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/04 18:42:12 UTC

[GitHub] [airflow] mik-laj opened a new issue #8135: API Enddpoint - Logs

mik-laj opened a new issue #8135: API Enddpoint - Logs
URL: https://github.com/apache/airflow/issues/8135
 
 
   **Description**
   Hello,
   
   We need to prepare an endpoint that will read the logs for the task. Logs are already available in Web UI, so abstractions should be created and used in both places. The code responsible for reading the log in the Web UI is in the file `[airflow/www/views.py](https://github.com/apache/airflow/blob/master/airflow/www/views.py)` method get_logs_with_metadata
   The token is metadata data serialized to JSON and encoded with base64. This is to prevent clients from building APIs based on a specific metadata structure. We cannot guarantee their permanent structure because they use external plugins.
   
   - GET /dags/{dag_id}/taskInstances/{task_id}/{execution_date}/logs/{task_try_number}
   
   https://github.com/apache/airflow/issues/8118
   
   **Use case / motivation**
   
   N/A
   
   **Related Issues**
   
   N/A

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [airflow] mik-laj commented on issue #8135: API Enddpoint - Logs

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8135: API Enddpoint - Logs
URL: https://github.com/apache/airflow/issues/8135#issuecomment-609072285
 
 
   @kaxil Do you want to help with this ticket?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services