[jira] [Created] (FLINK-22423) Log error cause for state transition in ExecutionGraph

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22423) Log error cause for state transition in ExecutionGraph

Shang Yuanchun (Jira)
Dawid Wysakowicz created FLINK-22423:
----------------------------------------

             Summary: Log error cause for state transition in ExecutionGraph
                 Key: FLINK-22423
                 URL: https://issues.apache.org/jira/browse/FLINK-22423
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
            Reporter: Dawid Wysakowicz
             Fix For: 1.13.0


We log each execution graph state transition as follows:

{code}
            LOG.info(
                    "Job {} ({}) switched from state {} to {}.",
                    getJobName(),
                    getJobID(),
                    current,
                    newState,
                    error);
{code}

The {{error}} is not included in the actual message. If we do not want to log the error we should at least remove the parameter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)