jason810496 commented on PR #54377:
URL: https://github.com/apache/airflow/pull/54377#issuecomment-3214817951

   > The long term solution would be to implement a backend feature to be able 
to paginate logs as well as a read order (start to end, end to start), so we 
could read the most recent 100 lines of the log file and return that directly, 
I don't think we support that yet cc: @jason810496
   
   It _could_ be possible, but the behavior will be quite heavy for API server. 
Since even we specify the "end to start" at the RestAPI level, the 
FileTaskHandler will still need to **read from the beginning of the log 
stream** then do the interleave and sorting stuff, and finally drop the output 
stream until "end to start" position before returning as API response.


-- 
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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to