public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-perl-rs] update to proxmox-log 0.2
@ 2024-07-25 10:56 Fabian Grünbichler
  2024-08-06 11:07 ` Lukas Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Fabian Grünbichler @ 2024-07-25 10:56 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 common/src/logger.rs  | 4 +---
 pmg-rs/Cargo.toml     | 2 +-
 pmg-rs/debian/control | 2 +-
 pve-rs/Cargo.toml     | 2 +-
 pve-rs/debian/control | 2 +-
 5 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/common/src/logger.rs b/common/src/logger.rs
index b54e658..1c8940b 100644
--- a/common/src/logger.rs
+++ b/common/src/logger.rs
@@ -5,9 +5,7 @@ pub fn init(env_var_name: &str, default_log_level: &str) {
     if let Err(e) = default_log_level
         .parse()
         .map_err(Error::from)
-        .and_then(|default_log_level| {
-            proxmox_log::init_logger(env_var_name, default_log_level, "<pve>")
-        })
+        .and_then(|default_log_level| proxmox_log::init_logger(env_var_name, default_log_level))
     {
         eprintln!("could not set up env_logger: {e:?}");
     }
diff --git a/pmg-rs/Cargo.toml b/pmg-rs/Cargo.toml
index 6296b64..2af92ee 100644
--- a/pmg-rs/Cargo.toml
+++ b/pmg-rs/Cargo.toml
@@ -35,7 +35,7 @@ proxmox-apt-api-types = "1.0"
 proxmox-config-digest = "0.1"
 proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
 proxmox-http-error = "0.1.0"
-proxmox-log = "0.1"
+proxmox-log = "0.2"
 proxmox-notify = "0.4"
 proxmox-subscription = "0.4"
 proxmox-sys = "0.6"
diff --git a/pmg-rs/debian/control b/pmg-rs/debian/control
index 24ecdc4..2904b55 100644
--- a/pmg-rs/debian/control
+++ b/pmg-rs/debian/control
@@ -25,7 +25,7 @@ Build-Depends: cargo:native <!nocheck>,
                librust-proxmox-http-0.9+client-trait-dev,
                librust-proxmox-http-0.9+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-subscription-0.4+default-dev,
                librust-proxmox-sys-0.6+default-dev,
diff --git a/pve-rs/Cargo.toml b/pve-rs/Cargo.toml
index ddae988..b6abf6c 100644
--- a/pve-rs/Cargo.toml
+++ b/pve-rs/Cargo.toml
@@ -36,7 +36,7 @@ proxmox-apt-api-types = "1.0"
 proxmox-config-digest = "0.1"
 proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
 proxmox-http-error = "0.1.0"
-proxmox-log = "0.1"
+proxmox-log = "0.2"
 proxmox-notify = { version = "0.4", features = ["pve-context"] }
 proxmox-openid = "0.10"
 proxmox-resource-scheduling = "0.3.0"
diff --git a/pve-rs/debian/control b/pve-rs/debian/control
index 0fabbe9..6191fdb 100644
--- a/pve-rs/debian/control
+++ b/pve-rs/debian/control
@@ -23,7 +23,7 @@ Build-Depends: cargo:native <!nocheck>,
                librust-proxmox-http-0.9+client-trait-dev,
                librust-proxmox-http-0.9+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+pve-context-dev,
                librust-proxmox-openid-0.10+default-dev,
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-06 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-25 10:56 [pve-devel] [PATCH proxmox-perl-rs] update to proxmox-log 0.2 Fabian Grünbichler
2024-08-06 11:07 ` Lukas Wagner
2024-08-06 12:14   ` [pve-devel] applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal