Skip to content
Prev Previous commit
Next Next commit
downgrade s2 input per-record log from info to trace
  • Loading branch information
Mrhs121 committed Mar 23, 2026
commit 215f5273f5b61a168ec99e365929091d05bb7e6d
4 changes: 2 additions & 2 deletions crates/adapters/src/transport/s2/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use tokio::{
task::JoinHandle,
};
use tokio_util::sync::CancellationToken;
use tracing::{Instrument, error, info, info_span};
use tracing::{Instrument, error, info, info_span, trace};
use xxhash_rust::xxh3::Xxh3Default;

#[derive(Debug, Serialize, Deserialize)]
Expand Down Expand Up @@ -368,7 +368,7 @@ fn spawn_s2_reader(
Some(Ok(batch)) => {
// Successfully received a batch
for record in &batch.records {
info!("Got record #{}", record.seq_num);
trace!("Got record #{}", record.seq_num);
next_seq.store(record.seq_num + 1, Ordering::Release);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per-record info! will spam logs at any meaningful throughput. Downgrade to trace!, or drop it — the queue/extend logs already give sufficient visibility.

let data = &record.body;
queue.push_with_aux(parser.parse(data, None), Utc::now(), record.seq_num);
Expand Down