Skip to content

Commit 09eba61

Browse files
committed
refactor(logging): Adjust logging levels of common logs
1 parent 4054cb5 commit 09eba61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/dtn7/src/core/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ pub async fn process_bundles() {
192192
}
193193
}
194194

195-
debug!(
195+
trace!(
196196
"time to process {} bundles: {:?}",
197197
num_bundles,
198198
now_total.elapsed()

core/dtn7/src/dtnd/janitor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
use log::debug;
1+
use log::{debug, trace};
22

33
async fn janitor() {
44
debug!("running janitor");
55

6-
debug!("cleaning up peers");
6+
trace!("cleaning up peers");
77
crate::core::process_peers().await;
88

99
// handled in forwarding
1010
//debug!("cleaning up store");
1111
//crate::store_delete_expired();
1212

13-
debug!("reprocessing bundles");
13+
trace!("reprocessing bundles");
1414
/*if let Err(err) = crate::core::process_bundles().await {
1515
error!("Processing bundles failed: {}", err);
1616
}*/

0 commit comments

Comments
 (0)