proxmox/proxmox-log
Gabriel Goller a75b97da76 log, rest-server: worker_task: add log_unfiltered
To write result message manually, bypassing tracing.

The workertasks currently get their status from parsing the log
messages in the task-log file. The problem is that if these messages are
filtered – which is now possible using the PBS_LOG env variable – some
workertasks will end up with a "stopped: unknown" status. This is not
desirable so write the message manually to the workertask file and
bypass tracing.

This way we are guaranteed that, regardless of the max logging level the
user sets, the final message (and status) is written.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2025-03-19 12:19:02 +01:00
..
debian log: bump version to 0.2.7 2024-11-27 13:31:57 +01:00
src log, rest-server: worker_task: add log_unfiltered 2025-03-19 12:19:02 +01:00
Cargo.toml log: bump version to 0.2.7 2024-11-27 13:31:57 +01:00