diff --git a/Cargo.lock b/Cargo.lock index d75e032..61c2df5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,7 +279,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "cm-dashboard" -version = "0.1.250" +version = "0.1.251" dependencies = [ "anyhow", "chrono", @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "cm-dashboard-agent" -version = "0.1.250" +version = "0.1.251" dependencies = [ "anyhow", "async-trait", @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "cm-dashboard-shared" -version = "0.1.250" +version = "0.1.251" dependencies = [ "chrono", "serde", diff --git a/agent/Cargo.toml b/agent/Cargo.toml index 43e18ec..280eb65 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-agent" -version = "0.1.251" +version = "0.1.252" edition = "2021" [dependencies] diff --git a/agent/src/collectors/systemd.rs b/agent/src/collectors/systemd.rs index 2eeea72..b7f7156 100644 --- a/agent/src/collectors/systemd.rs +++ b/agent/src/collectors/systemd.rs @@ -4,7 +4,7 @@ use cm_dashboard_shared::{AgentData, ServiceData, SubServiceData, SubServiceMetr use std::process::Command; use std::sync::RwLock; use std::time::Instant; -use tracing::debug; +use tracing::{debug, info}; use super::{Collector, CollectorError}; use crate::config::SystemdConfig; @@ -921,7 +921,7 @@ impl SystemdCollector { let output = match output { Ok(out) if out.status.success() => out, _ => { - debug!("Failed to run nft list ruleset"); + info!("Failed to run nft list ruleset"); return (String::new(), String::new()); } }; @@ -929,7 +929,7 @@ impl SystemdCollector { let output_str = match String::from_utf8(output.stdout) { Ok(s) => s, Err(_) => { - debug!("Failed to parse nft output as UTF-8"); + info!("Failed to parse nft output as UTF-8"); return (String::new(), String::new()); } }; @@ -991,7 +991,7 @@ impl SystemdCollector { let tcp_str = tcp_vec.iter().map(|p| p.to_string()).collect::>().join(", "); let udp_str = udp_vec.iter().map(|p| p.to_string()).collect::>().join(", "); - debug!("nftables WAN ports - TCP: '{}', UDP: '{}'", tcp_str, udp_str); + info!("nftables WAN ports - TCP: '{}', UDP: '{}'", tcp_str, udp_str); (tcp_str, udp_str) } diff --git a/dashboard/Cargo.toml b/dashboard/Cargo.toml index 9df56cb..1be44d7 100644 --- a/dashboard/Cargo.toml +++ b/dashboard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard" -version = "0.1.251" +version = "0.1.252" edition = "2021" [dependencies] diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 8e72adc..0515ced 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-shared" -version = "0.1.251" +version = "0.1.252" edition = "2021" [dependencies]