[pbs-devel] [PATCH proxmox-backup] api: Outsource the logger initialization to the router
Gabriel Goller
g.goller at proxmox.com
Fri Sep 29 10:47:00 CEST 2023
bump...
On 8/21/23 13:19, Gabriel Goller wrote:
> Instead of manually initializing the `syslog` logger on api/proxy startup,
> we now call a common function `init_syslog_logger()`, which sets the
> global logger according to the environment variable passed.
>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
> src/bin/proxmox-backup-api.rs | 9 ++-------
> src/bin/proxmox-backup-proxy.rs | 22 +++++-----------------
> 2 files changed, 7 insertions(+), 24 deletions(-)
>
> [..]
More information about the pbs-devel
mailing list