You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2021/04/23 07:10:00 UTC

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

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)