You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2018/01/24 12:18:00 UTC

[jira] [Reopened] (FLINK-7979) Use Log.*(Object, Throwable) overload to log exceptions

     [ https://issues.apache.org/jira/browse/FLINK-7979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek reopened FLINK-7979:
-------------------------------------

Reopen to remove fixVersion

> Use Log.*(Object, Throwable) overload to log exceptions
> -------------------------------------------------------
>
>                 Key: FLINK-7979
>                 URL: https://issues.apache.org/jira/browse/FLINK-7979
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Hai Zhou UTC+8
>            Assignee: Hai Zhou UTC+8
>            Priority: Critical
>
> I found some code that logging an exception, through convert the exception to string or call .getMessage. {{.getMessage()}}.
> I think the better way is to use the Logger method overloads which take {{`Throwable`}} as a parameter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)