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


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/activity/impl/ProcessWorkUnitImpl.java:
##########
@@ -62,11 +61,14 @@
 public class ProcessWorkUnitImpl implements ProcessWorkUnit {
   private static final int LOG_EXTENDED_PROPS_EVERY_WORK_UNITS_STRIDE = 100;
 
+  private static final String MAX_SOURCE_PATHS_TO_LOG_PER_MULTI_WORK_UNIT = 
ProcessWorkUnitImpl.class.getName() + ".maxSourcePathsToLogPerMultiWorkUnit";
+  private static final int DEFAULT_MAX_SOURCE_PATHS_TO_LOG_PER_MULTI_WORK_UNIT 
= 5;
+
   @Override
   public int processWorkUnit(WorkUnitClaimCheck wu) {
     try (FileSystem fs = Help.loadFileSystemForce(wu)) {
       List<WorkUnit> workUnits = loadFlattenedWorkUnits(wu, fs);
-      log.info("WU [{}] - loaded {} workUnits", wu.getCorrelator(), 
workUnits.size());
+      log.info("(M)WU [{}] - loaded; found {} workUnits", wu.getCorrelator(), 
workUnits.size());

Review Comment:
   exactly, hence I put "(M)WU" to cover the case equally of "MWU" or "WU".  
would you prefer I write it as:
   ```
   log.info("WU/MWU [{}] - loaded; found {} workUnits",  ...);
   ```
   ?



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