Jzjsnow commented on code in PR #3639:
URL: https://github.com/apache/amoro/pull/3639#discussion_r2176348083


##########
amoro-ams/src/main/java/org/apache/amoro/server/DefaultOptimizingService.java:
##########
@@ -241,10 +241,11 @@ public void ackTask(String authToken, int threadId, 
OptimizingTaskId taskId) {
   @Override
   public void completeTask(String authToken, OptimizingTaskResult taskResult) {
     LOG.info(
-        "Optimizer {} (threadId {}) complete task {}",
+        "Optimizer {} (threadId {}) complete task {}, result: {}",

Review Comment:
   Yep, `taskOutput` is not readable, and here we are more concerned about 
whether the task succeeded or not, which is determined by the `ErrorMessage` 
being null. However, the logged `"result: {}"` here may be ambiguous, I can 
change it to `"status: [SUCCESS|FAIL]"` for more clarity, HDYT?



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