You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2018/04/10 22:45:00 UTC

[jira] [Resolved] (KAFKA-5706) log the name of the error instead of the error code in response objects

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

Jun Rao resolved KAFKA-5706.
----------------------------
    Resolution: Cannot Reproduce

[~manasvigupta], this doesn't seem to be an issue any more now that we have converted all requests/responses to java objects using Error enum. Closing the jira.

> log the name of the error instead of the error code in response objects
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-5706
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5706
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, core
>    Affects Versions: 0.11.0.0
>            Reporter: Jun Rao
>            Assignee: Manasvi Gupta
>            Priority: Major
>              Labels: newbie
>
> Currently, when logging the error code in the response objects, we simply log response.toString(), which contains the error code. It will be useful to log the name of the corresponding exception for the error, which is more meaningful than an error code.



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