]> git.proxmox.com Git - proxmox.git/commit
cleanup worker task logging
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 24 Sep 2021 07:30:00 +0000 (09:30 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 24 Sep 2021 08:34:11 +0000 (10:34 +0200)
commit020c8e698060c0c75aae79eb5ef91163fcd15749
treefda379f35bdcdf35ba80d431f198b343fa837a16
parent7a4bb6000e047066cd63a1ccd7bdd6afd44c0d7a
cleanup worker task logging

In order to avoid name conflicts with WorkerTaskContext

- renamed WorkerTask::log to WorkerTask::log_message

Note: Methods have different fuction signatures

Also renamed WorkerTask::warn to WorkerTask::log_warning for
consistency reasons.

Use the task_log!() and task_warn!() macros more often.
proxmox-rest-server/src/h2service.rs
proxmox-rest-server/src/worker_task.rs