mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-29 23:11:45 +00:00
update to proxmox-log 0.2
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
885830935c
commit
9a91594ee6
@ -5,9 +5,7 @@ pub fn init(env_var_name: &str, default_log_level: &str) {
|
|||||||
if let Err(e) = default_log_level
|
if let Err(e) = default_log_level
|
||||||
.parse()
|
.parse()
|
||||||
.map_err(Error::from)
|
.map_err(Error::from)
|
||||||
.and_then(|default_log_level| {
|
.and_then(|default_log_level| proxmox_log::init_logger(env_var_name, default_log_level))
|
||||||
proxmox_log::init_logger(env_var_name, default_log_level, "<pve>")
|
|
||||||
})
|
|
||||||
{
|
{
|
||||||
eprintln!("could not set up env_logger: {e:?}");
|
eprintln!("could not set up env_logger: {e:?}");
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ proxmox-apt-api-types = "1.0"
|
|||||||
proxmox-config-digest = "0.1"
|
proxmox-config-digest = "0.1"
|
||||||
proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
|
proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
|
||||||
proxmox-http-error = "0.1.0"
|
proxmox-http-error = "0.1.0"
|
||||||
proxmox-log = "0.1"
|
proxmox-log = "0.2"
|
||||||
proxmox-notify = "0.4"
|
proxmox-notify = "0.4"
|
||||||
proxmox-subscription = "0.4"
|
proxmox-subscription = "0.4"
|
||||||
proxmox-sys = "0.6"
|
proxmox-sys = "0.6"
|
||||||
|
@ -25,7 +25,7 @@ Build-Depends: cargo:native <!nocheck>,
|
|||||||
librust-proxmox-http-0.9+client-trait-dev,
|
librust-proxmox-http-0.9+client-trait-dev,
|
||||||
librust-proxmox-http-0.9+default-dev,
|
librust-proxmox-http-0.9+default-dev,
|
||||||
librust-proxmox-http-error-0.1+default-dev,
|
librust-proxmox-http-error-0.1+default-dev,
|
||||||
librust-proxmox-log-0.1+default-dev,
|
librust-proxmox-log-0.2+default-dev,
|
||||||
librust-proxmox-notify-0.4+default-dev,
|
librust-proxmox-notify-0.4+default-dev,
|
||||||
librust-proxmox-subscription-0.4+default-dev,
|
librust-proxmox-subscription-0.4+default-dev,
|
||||||
librust-proxmox-sys-0.6+default-dev,
|
librust-proxmox-sys-0.6+default-dev,
|
||||||
|
@ -36,7 +36,7 @@ proxmox-apt-api-types = "1.0"
|
|||||||
proxmox-config-digest = "0.1"
|
proxmox-config-digest = "0.1"
|
||||||
proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
|
proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
|
||||||
proxmox-http-error = "0.1.0"
|
proxmox-http-error = "0.1.0"
|
||||||
proxmox-log = "0.1"
|
proxmox-log = "0.2"
|
||||||
proxmox-notify = { version = "0.4", features = ["pve-context"] }
|
proxmox-notify = { version = "0.4", features = ["pve-context"] }
|
||||||
proxmox-openid = "0.10"
|
proxmox-openid = "0.10"
|
||||||
proxmox-resource-scheduling = "0.3.0"
|
proxmox-resource-scheduling = "0.3.0"
|
||||||
|
@ -23,7 +23,7 @@ Build-Depends: cargo:native <!nocheck>,
|
|||||||
librust-proxmox-http-0.9+client-trait-dev,
|
librust-proxmox-http-0.9+client-trait-dev,
|
||||||
librust-proxmox-http-0.9+default-dev,
|
librust-proxmox-http-0.9+default-dev,
|
||||||
librust-proxmox-http-error-0.1+default-dev,
|
librust-proxmox-http-error-0.1+default-dev,
|
||||||
librust-proxmox-log-0.1+default-dev,
|
librust-proxmox-log-0.2+default-dev,
|
||||||
librust-proxmox-notify-0.4+default-dev,
|
librust-proxmox-notify-0.4+default-dev,
|
||||||
librust-proxmox-notify-0.4+pve-context-dev,
|
librust-proxmox-notify-0.4+pve-context-dev,
|
||||||
librust-proxmox-openid-0.10+default-dev,
|
librust-proxmox-openid-0.10+default-dev,
|
||||||
|
Loading…
Reference in New Issue
Block a user