zentol commented on a change in pull request #11042: FLINK-15744 Some
TaskManager Task exceptions are logged as info
URL: https://github.com/apache/flink/pull/11042#discussion_r380154394
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java
##########
@@ -952,7 +952,7 @@ private boolean transitionState(ExecutionState
currentState, ExecutionState newS
if (cause == null) {
LOG.info("{} ({}) switched from {} to {}.",
taskNameWithSubtask, executionId, currentState, newState);
} else {
- LOG.info("{} ({}) switched from {} to {}.",
taskNameWithSubtask, executionId, currentState, newState, cause);
+ LOG.warn("{} ({}) switched from {} to {}.",
taskNameWithSubtask, executionId, currentState, newState, cause);
Review comment:
the last argument is a throwable, so I don't see a problem.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services