phet commented on code in PR #3912:
URL: https://github.com/apache/gobblin/pull/3912#discussion_r1599165186


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/launcher/ExecuteGobblinJobLauncher.java:
##########
@@ -85,8 +86,8 @@ public void submitJob(List<WorkUnit> workunits) {
       EventSubmitterContext eventSubmitterContext = new 
EventSubmitterContext.Builder(eventSubmitter)
           .withGaaSJobProps(this.jobProps)
           .build();
-      int numWorkUnits = 
workflow.execute(ConfigUtils.configToProperties(jobConfigWithOverrides), 
eventSubmitterContext);
-      log.info("FINISHED - ExecuteGobblinWorkflow.execute = {}", numWorkUnits);
+      ExecGobblinStats execGobblinStats = 
workflow.execute(ConfigUtils.configToProperties(jobConfigWithOverrides), 
eventSubmitterContext);
+      log.info("FINISHED - ExecuteGobblinWorkflow.execute = {}", 
execGobblinStats.getNumCommitted());

Review Comment:
   log only the number?  why not the full struct (as JSON)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to