Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Make our Rust logs a bit more readable by quieting noisy stuff #1984

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pulumi/infra/log_levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"rusoto_core=WARN",
"rustls=WARN",
# noisy, only for debugging
"client_executor=trace",
"client_executor=TRACE",
# By default, sqlx outputs an INFO for every query executed.
# It's very noisy!
# https://github.com/launchbadge/sqlx/issues/942
"sqlx::query=WARN",
]
)
PY_LOG_LEVEL = "DEBUG"
4 changes: 2 additions & 2 deletions src/rust/kafka/src/test_utils/topic_scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ where
let ret_span = span.clone();
let _guard = span.enter();

tracing::debug!(message = "consumed kafka message");
tracing::trace!(message = "consumed kafka message");

if envelope.tenant_id() == priming_message_tenant_id {
tracing::info!("received priming message");
Expand Down Expand Up @@ -203,7 +203,7 @@ where
.expect("failed to acquire filter predicate lock")(
envelope.clone()
) {
tracing::debug!("filter predicate matched");
tracing::trace!("filter predicate matched");
Some((ret_span, envelope))
} else {
None
Expand Down