Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Do
-
1.2.0
-
None
Description
If a task fails due to an exception, I would like that to be logged at a warn or an error level. currently its info
private boolean transitionState(ExecutionState currentState, ExecutionState newState, Throwable cause) { if (STATE_UPDATER.compareAndSet(this, currentState, newState)) { if (cause == null) { LOG.info("{} ({}) switched from {} to {}.", taskNameWithSubtask, executionId, currentState, newState); } else { LOG.info("{} ({}) switched from {} to {}.", taskNameWithSubtask, executionId, currentState, newState, cause); } return true; } else { return false; } }
Attachments
Issue Links
- is duplicated by
-
FLINK-32630 The log level of job failed info should change from INFO to WARN/ERROR if job failed
- Closed
- links to