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


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java:
##########
@@ -591,9 +596,7 @@ private void unscheduleSpec(URI specURI, String 
specVersion) throws JobException
       try {
           FlowSpec spec = (FlowSpec) this.flowCatalog.get().getSpecs(specURI);
           Properties properties = spec.getConfigAsProperties();
-          _log.info("Scheduler trigger tracing: [flowName: {} flowGroup: {}] - 
Unscheduled Spec",
-                  properties.getProperty(ConfigurationKeys.JOB_NAME_KEY),
-                  properties.getProperty(ConfigurationKeys.JOB_GROUP_KEY));
+          _log.info(jobSchedulerTracePrefixBuilder(properties) + "Unscheduled 
Spec");

Review Comment:
   I definitely support the reuse between these... but also see the prefix 
builder using `FLOW_GROUP_KEY`, while the prior revision had used 
`JOB_GROUP_KEY`.  can the former stand in for the latter... or was it incorrect 
previously to use `JOB_GROUP_KEY`?



-- 
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