proxmox/proxmox-log/src
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
..
builder.rs log: factor out NoWorkerTask filter 2025-03-19 11:52:08 +01:00
file_logger.rs tree-wide: remove clone calls on types that are Copy 2025-03-06 15:12:16 +01:00
lib.rs log, rest-server: worker_task: add log_unfiltered 2025-03-19 12:19:02 +01:00
pve_task_formatter.rs log: add layer for pve workertasks in perlmod crates 2025-03-19 09:52:35 +01:00
tasklog_layer.rs log: introduce a shareable LogContext struct 2024-07-11 14:45:26 +02:00