]> git.proxmox.com Git - pve-manager.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)
commitaa73246bd48fbba11c7da62b3271d134e27f5545
treeaa03d532989ea79686297011e76663ed0f76b061
parent5a9848fac02c461870b9b3b5224fdaf699b07bfb
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