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

 ##########
 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:
   This will not work because the number of placeholders (`{}`) does not match 
the number of arguments.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to