]> git.proxmox.com Git - pve-manager-legacy.git/commit
make task log downloadable in the PVE manager backend
authorDaniel Tschlatscher <d.tschlatscher@proxmox.com>
Wed, 4 Jan 2023 12:56:33 +0000 (13:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 Jan 2023 13:32:11 +0000 (14:32 +0100)
commit1d2be7889d6971dcf243986b7a0da588fb60ea0e
treed88c8d46432970c9b2177319259939ee387ad768
parent0be9022f98b96e297bd170752580a7970c2a6f91
make task log downloadable in the PVE manager backend

The read_tasklog API call now stream the whole log file if the query
parameter 'download' is set to true.
This is done in preparation for the task log download button to be
added in the TaskViewer.

Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
Tested-by: Stefan Sterz <s.sterz@proxmox.com>
Reviewed-by: Stefan Sterz <s.sterz@proxmox.com>
PVE/API2/Tasks.pm