XComp commented on code in PR #21379:
URL: https://github.com/apache/flink/pull/21379#discussion_r1031225607


##########
flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java:
##########
@@ -1081,23 +1081,23 @@ private boolean transitionState(
                         currentState,
                         newState);
                 LOG.debug(
-                        "{} ({}) switched from {} to {} due to 
CancelTaskException: {}",
+                        "{} ({}) switched from {} to {} due to 
CancelTaskException:",
                         taskNameWithSubtask,
                         executionId,
                         currentState,
                         newState,
-                        ExceptionUtils.stringifyException(cause));

Review Comment:
   could we fix the duplicate exception as well as part of this change? The two 
log messages should be wrapped in a if/else block with `LOG.isDebugEnabled()` 
as the condition.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to