]> git.proxmox.com Git - proxmox-backup.git/commit
log: retrieve `ReaderEnvironment` debug flag from tracing
authorGabriel Goller <g.goller@proxmox.com>
Fri, 16 Aug 2024 10:39:58 +0000 (12:39 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 29 Aug 2024 09:23:44 +0000 (11:23 +0200)
commitbaacc3f2de8518fcb79d4b73f161e3d3699de9ca
treef05e84615efdeb516ce7c9d8d1e0bb834c86bff8
parent631b09b2ebfb2001723441de9a944af466dfbec1
log: retrieve `ReaderEnvironment` debug flag from tracing

Don't hardcode the debug flag but retrieve the currently enabled level
using tracing. This will change the default log-behavior and disable
some logs that have been printed previously. F.e.: the "protocol upgrade
done" message is not visible anymore per default because it is printed
with debug.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
src/api2/backup/environment.rs
src/api2/reader/environment.rs
src/server/pull.rs