From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH proxmox-perl-rs] update to proxmox-log 0.2
Date: Thu, 25 Jul 2024 12:56:06 +0200 [thread overview]
Message-ID: <20240725105606.2806448-1-f.gruenbichler@proxmox.com> (raw)
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
next reply other threads:[~2024-07-25 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 10:56 Fabian Grünbichler [this message]
2024-08-06 11:07 ` Lukas Wagner
2024-08-06 12:14 ` [pve-devel] applied: " Fabian Grünbichler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240725105606.2806448-1-f.gruenbichler@proxmox.com \
--to=f.gruenbichler@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox