[ 
https://issues.apache.org/jira/browse/FLINK-29940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643312#comment-17643312
 ] 

Robert Metzger commented on FLINK-29940:
----------------------------------------

I agree that ERROR is not the right log level here, because it is indeed not a 
log message indicating that the system can not proceed normally.
However, it is also not really an INFO event, since it is a pretty important 
message, that the user should notice. I was wondering whether a WARN log level 
would be a change we could consider here?

> ExecutionGraph logs job state change at ERROR level when job fails
> ------------------------------------------------------------------
>
>                 Key: FLINK-29940
>                 URL: https://issues.apache.org/jira/browse/FLINK-29940
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.16.0
>            Reporter: Mingliang Liu
>            Priority: Minor
>              Labels: pull-request-available
>
> When job switched to FAILED state, the log is very useful to understand why 
> it failed along with the root cause exception stack. However, the current log 
> level is INFO - a bit inconvenient for users to search from logging with so 
> many surrounding log lines. We can log at ERROR level when the job switched 
> to FAILED state.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to