You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2013/04/29 20:14:16 UTC

[jira] [Created] (KAFKA-887) Standardize logging for partition information to [%s,%d] format

Neha Narkhede created KAFKA-887:
-----------------------------------

             Summary: Standardize logging for partition information to [%s,%d] format
                 Key: KAFKA-887
                 URL: https://issues.apache.org/jira/browse/KAFKA-887
             Project: Kafka
          Issue Type: Improvement
    Affects Versions: 0.8
            Reporter: Neha Narkhede
            Assignee: Neha Narkhede
            Priority: Critical
         Attachments: kafka-887.patch

We have many ways of printing log4j information for partitions making it very difficult to trace a particular partition through some log4j logs. This patch has 2 changes -

1. Standardize on "partition [%s,%d]"
2. In Partition.scala, the list of stuck/slow replicas was printed even if it was empty. Improved it to print only if the list has at least 1 item.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira