You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by guozhangwang <gi...@git.apache.org> on 2017/06/16 00:23:54 UTC

[GitHub] kafka pull request #3354: KAFKA-4829: Improve log4j on Streams thread / task...

GitHub user guozhangwang opened a pull request:

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

    KAFKA-4829: Improve log4j on Streams thread / task-level

    These are the following improvements I made:
    
    1. On stream thread level, INFO will be demonstrating `Completed xx tasks in yy ms` or `Completed rebalance with xx state in yy ms`, 
    2. On Stream thread cache level, INFO on `Flushed xx records`.
    3. On Stream thread level, DEBUG on internal batched operations like `created xx tasks`, and TRACE on individual operation like `created x task`.
    4. Also using `isTraceEnabled` on the critical path to reduce overhead of creating `Object[]`.
    5. Minor cleanups in the code.

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

    $ git pull https://github.com/guozhangwang/kafka K4829-tasks-log4j

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

    https://github.com/apache/kafka/pull/3354.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 #3354
    
----
commit 00459c20ae097b9da86ba15ed1511ab3f39c9830
Author: Guozhang Wang <wa...@gmail.com>
Date:   2017-06-16T00:16:20Z

    improve log4j levels

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request #3354: KAFKA-4829: Improve log4j on Streams thread / task...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---