forked from Proxmox/proxmox
0550659cd1
Add the `proxmox_log` crate which includes the new logging infra. Export the `init_logger` function, which creates the `tracing` logger that includes the default subscriber and two layer. The first layer comes from the tracing-journald crate and logs everything that does not come from a worker-task/thread to the syslog. The second layer filters the exact opposite and writes the logs into the corresponding task-log file. Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>