]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-restore-daemon/src/main.rs
restore daemon: use millisecond log resolution
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jul 2021 19:28:17 +0000 (21:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jul 2021 19:44:13 +0000 (21:44 +0200)
commitecd66ecaf6fbf6f929f81a837df25757b6e7a290
tree574b56c38af2456b38d3b483b0099cba45785ec1
parent33d7292f29bedfd7570bebcef2a5d6943ebe8cbb
restore daemon: use millisecond log resolution

During startup most of the stuff is happening in milliseconds (or
less), so the timestamp granularity of seconds made it hard to tell
if the previous command required 990ms or 1ms, which is quite the
difference in the restore daemon context.

Using micros seems not to bring too much additional information, a
millisecond is already an ok lower time resolution for logging, so
switch only to millis for now.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-restore-daemon.rs