Skip to content

Commit

Permalink
Merge pull request #565 from Altinity/564-remove-debug-logs
Browse files Browse the repository at this point in the history
Removed excessive logging statements
  • Loading branch information
subkanthi authored May 5, 2024
2 parents e1bc645 + 448aea2 commit c6b805a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private ClickHouseStruct processEveryChangeRecord(Properties props, ChangeEvent<
}

String value = String.valueOf(record.value());
log.debug(String.format("Record %s", value));
//log.debug(String.format("Record %s", value));
} catch (Exception e) {
log.error("Exception processing record", e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ static synchronized void acknowledgeRecords(List<ClickHouseStruct> batch) throws
if (record.getCommitter() != null && record.getSourceRecord() != null) {

record.getCommitter().markProcessed(record.getSourceRecord());
log.debug("***** Record successfully marked as processed ****" + "Binlog file:" +
record.getFile() + " Binlog position: " + record.getPos() + " GTID: " + record.getGtid()
+ "Sequence Number: " + record.getSequenceNumber() + "Debezium Timestamp: " + record.getDebezium_ts_ms());
// log.debug("***** Record successfully marked as processed ****" + "Binlog file:" +
// record.getFile() + " Binlog position: " + record.getPos() + " GTID: " + record.getGtid()
// + "Sequence Number: " + record.getSequenceNumber() + "Debezium Timestamp: " + record.getDebezium_ts_ms());

if(record.isLastRecordInBatch()) {
record.getCommitter().markBatchFinished();
Expand Down

0 comments on commit c6b805a

Please sign in to comment.