]> git.proxmox.com Git - proxmox-perl-rs.git/commit
log: set default log level to 'info', add product specific logging env var
authorLukas Wagner <l.wagner@proxmox.com>
Wed, 24 May 2023 13:56:25 +0000 (15:56 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 5 Jun 2023 07:25:05 +0000 (09:25 +0200)
commitd0cab6371a674acc492e103e55d4305a667104af
tree50d98a17b561f8e503b261b45df8607381932819
parent15e7531f3c1f7e1a26f56627dd4ba050163894cd
log: set default log level to 'info', add product specific logging env var

Logging behaviour can be overridden by the {PMG,PVE}_LOG environment
variable.

This commit also disables styled output and  timestamps in log messages,
since we usually log to the journal anyway. The log output is configured
to match with other log messages in task logs.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
common/src/logger.rs
pmg-rs/src/lib.rs
pve-rs/src/lib.rs