Skip to content

Commit be1ae2b

Browse files
authored
Merge pull request #637 from confluentinc/remove-record-logging
removed logging from different writer providers
2 parents a2bb25e + 16926bd commit be1ae2b

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/main/java/io/confluent/connect/hdfs/avro/AvroRecordWriterProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public void write(SinkRecord record) {
7373
}
7474
}
7575

76-
log.trace("Sink record: {}", record);
7776
Object value = avroData.fromConnectData(schema, record.value());
7877
try {
7978
// AvroData wraps primitive types so their schema can be included. We need to unwrap

src/main/java/io/confluent/connect/hdfs/json/JsonRecordWriterProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public RecordWriter getRecordWriter(final HdfsSinkConnectorConfig conf, final St
7676

7777
@Override
7878
public void write(SinkRecord record) {
79-
log.trace("Sink record: {}", record.toString());
8079
try {
8180
Object value = record.value();
8281
if (value instanceof Struct) {

src/main/java/io/confluent/connect/hdfs/parquet/ParquetRecordWriterProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public void write(SinkRecord record) {
9595
}
9696
}
9797

98-
log.trace("Sink record: {}", record);
9998
Object value = avroData.fromConnectData(record.valueSchema(), record.value());
10099
try {
101100
writer.write((GenericRecord) value);

src/main/java/io/confluent/connect/hdfs/string/StringRecordWriterProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public RecordWriter getRecordWriter(final HdfsSinkConnectorConfig conf, final St
6969

7070
@Override
7171
public void write(SinkRecord record) {
72-
log.trace("Sink record: {}", record.toString());
7372
try {
7473
String value = (String) record.value();
7574
writer.write(value);

0 commit comments

Comments
 (0)