Skip to content

Commit

Permalink
Revert "add logging to help troubleshoot"
Browse files Browse the repository at this point in the history
This reverts commit 0cf109e.
  • Loading branch information
imor committed Nov 30, 2024
1 parent 39bc3cf commit f9ffb43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions pg_replicate/src/conversions/table_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::str::Utf8Error;

use thiserror::Error;
use tokio_postgres::types::Type;
use tracing::{error, info};
use tracing::error;

use crate::{conversions::text::TextFormatConverter, pipeline::batching::BatchBoundary};

Expand Down Expand Up @@ -48,7 +48,6 @@ impl TableRowConverter {
let mut values = Vec::with_capacity(column_schemas.len());

let row_str = str::from_utf8(row)?;
info!("row_str: {row_str}");
let mut column_schemas_iter = column_schemas.iter();
let mut chars = row_str.chars();
let mut val_str = String::with_capacity(10);
Expand Down Expand Up @@ -94,7 +93,6 @@ impl TableRowConverter {
return Err(TableRowConversionError::NumColsMismatch);
};

info!("val_str: {val_str:#?}");
let value = if val_str == "\\N" {
Cell::Null
} else {
Expand Down
2 changes: 0 additions & 2 deletions pg_replicate/src/pipeline/batching/data_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ impl<Src: Source, Snk: BatchSink> BatchDataPipeline<Src, Snk> {
continue;
}

info!("table schema: {table_schema:#?}");

self.sink.truncate_table(table_schema.table_id).await?;

let table_rows = self
Expand Down

0 comments on commit f9ffb43

Please sign in to comment.