Récuperation du fichier allgo.log via requete rest lorsque le status=in progress
As reported in allgo.inria.fr/issues/6.
The idea is to provided a way to give access to the log content through the rest API.
The solution proposed is:
add a /api/vX/jobs/<job_id>/logs
that:
- returns a snapshot of "allgo.log" by default
- streams the content "allgo.log" if the query contains
?follow=1
- additionally it should support the HTTP Range header to allow partial requests (in case the connection is interrupted or if the client does not want to use streaming)