Skip to content

Commit 109c083

Browse files
committed
ADded debug logs
1 parent b26a2f7 commit 109c083

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

v2/spanner-to-sourcedb/src/main/java/com/google/cloud/teleport/v2/templates/SpannerToSourceDb.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ public static PipelineResult run(Options options) {
635635
}
636636
}
637637
ISchemaMapper schemaMapper = getSchemaMapper(options, ddl);
638+
LOG.info("schemaMapper : " + schemaMapper);
638639

639640
boolean isRegularMode = "regular".equals(options.getRunMode());
640641
PCollectionTuple reconsumedElements = null;
@@ -706,6 +707,8 @@ public static PipelineResult run(Options options) {
706707
options.getTransformationJarPath(), options.getTransformationClassName())
707708
.setCustomParameters(options.getTransformationCustomParameters())
708709
.build();
710+
LOG.info("custom transformation builder created");
711+
709712
SourceWriterTransform.Result sourceWriterOutput =
710713
mergedRecords
711714
.apply(
@@ -746,6 +749,7 @@ public static PipelineResult run(Options options) {
746749
connectionPoolSizePerWorker,
747750
options.getSourceType(),
748751
customTransformation));
752+
LOG.info("SourceWriterTransform builder created");
749753

750754
PCollection<FailsafeElement<String, String>> dlqPermErrorRecords =
751755
reconsumedElements
@@ -830,6 +834,7 @@ public static PipelineResult run(Options options) {
830834
.withTmpDirectory(options.getDeadLetterQueueDirectory() + "/tmp_skip/")
831835
.setIncludePaneInfo(true)
832836
.build());
837+
LOG.info("Starting pipeline run");
833838

834839
return pipeline.run();
835840
}

0 commit comments

Comments
 (0)