Skip to content

Commit 57fb155

Browse files
committed
fiddle with log levels
Signed-off-by: Brian L. Troutwine <[email protected]>
1 parent ef43be7 commit 57fb155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lading/src/observer/linux/cgroup.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::{collections::VecDeque, io};
66
use nix::errno::Errno;
77
use procfs::process::Process;
88
use rustc_hash::FxHashSet;
9-
use tracing::{debug, error, info};
9+
use tracing::{debug, error, info, trace};
1010

1111
#[derive(thiserror::Error, Debug)]
1212
/// Errors produced by functions in this module
@@ -91,7 +91,7 @@ impl Sampler {
9191
}
9292
}
9393

94-
info!("Found {count} child processes", count = pids.len());
94+
trace!("Found {count} processes", count = pids.len());
9595
// Now iterate the pids and collect the unique names of the cgroups associated.
9696
let mut cgroups = FxHashSet::default();
9797
for pid in pids {
@@ -108,7 +108,7 @@ impl Sampler {
108108

109109
// Now iterate the cgroups and collect samples.
110110
for cgroup_path in cgroups {
111-
info!(
111+
debug!(
112112
"Polling cgroup metrics for {path}",
113113
path = cgroup_path.to_string_lossy()
114114
);

0 commit comments

Comments
 (0)