Reduce log chatter

This commit is contained in:
Dominik Werder
2021-11-09 19:18:03 +01:00
parent fa86c7ab7d
commit 2f608a8a4e
32 changed files with 388 additions and 194 deletions

View File

@@ -355,7 +355,7 @@ where
Ok(item) => match item {
StreamItem::Log(item) => {
if do_log {
info!("collect_plain_events_json log {:?}", item);
debug!("collect_plain_events_json log {:?}", item);
}
}
StreamItem::Stats(item) => match item {
@@ -396,7 +396,7 @@ where
}
}
let ret = serde_json::to_value(collector.result()?)?;
info!("Total duration: {:?}", total_duration);
debug!("Total duration: {:?}", total_duration);
Ok(ret)
}