]> git.proxmox.com Git - proxmox-backup.git/commit
server: implement access log rotation with re-open via command socket
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 18:21:58 +0000 (19:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 18:53:30 +0000 (19:53 +0100)
commitfe4cc5b1a17098a40a1282e9b292ea3668d07849
treeb75f69d75044cb9a2ef334fb38894fbc992da232
parent04b053d87e420be6c535e29376c8728b50a8c49d
server: implement access log rotation with re-open via command socket

re-use the future we already have for task log rotation to trigger
it.

Move the FileLogger in ApiConfig into an Arc, so that we can actually
update it and REST using the new one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/server/config.rs
src/server/rest.rs