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

ASF GitHub Bot commented on KAFKA-5481:
---------------------------------------

GitHub user ppatierno opened a pull request:

    https://github.com/apache/kafka/pull/3383

    KAFKA-5481: ListOffsetResponse isn't logged in the right way with trace 
level enabled

    Added toString() method to ListOffsetResponse for logging

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ppatierno/kafka kafka-5481

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3383.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3383
    
----
commit 02bacc15a0de54f0dc75b74789a6922b6da4d83b
Author: ppatierno <ppatie...@live.com>
Date:   2017-06-20T12:35:33Z

    Added toString() method to ListOffsetResponse for logging

----


> ListOffsetResponse isn't logged in the right way with trace level enabled
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-5481
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5481
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>            Reporter: Paolo Patierno
>            Assignee: Paolo Patierno
>
> Hi,
> when trace level is enabled, the ListOffsetResponse isn't logged well but 
> just the class name is showed in the log  :
> {code}
> [2017-06-20 14:18:50,724] TRACE Received ListOffsetResponse 
> org.apache.kafka.common.requests.ListOffsetResponse@7ed5ecd9 from broker 
> new-host:9092 (id: 0 rack: null) 
> (org.apache.kafka.clients.consumer.internals.Fetcher:674)
> {code}
> The class doesn't provide a toString() for such a thing.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to