kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4023) Add thread id as prefix in Kafka Streams thread logging
Date Wed, 31 Aug 2016 01:48:21 GMT

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

ASF GitHub Bot commented on KAFKA-4023:

GitHub user bbejeck opened a pull request:


    KAFKA-4023: add thread/task id for logging prefix


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

    $ git pull https://github.com/bbejeck/kafka KAFKA-4023_add_thread_id_prefix_for_logging

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


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

    This closes #1803
commit 63eab5f7ba150880fb73226b3099bd4385e574ad
Author: bbejeck <bbejeck@gmail.com>
Date:   2016-08-31T01:46:20Z

    KAFKA-4023: add thread/task id for logging prefix


> Add thread id as prefix in Kafka Streams thread logging
> -------------------------------------------------------
>                 Key: KAFKA-4023
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4023
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Bill Bejeck
>              Labels: newbie++
> A single Kafka Streams instance can include multiple stream threads, and hence without
logging prefix it is difficult to determine which thread's producing which log entries.
> We should
> 1) add the log-prefix as thread id in StreamThread logger, as well as its contained StreamPartitionAssignor.
> 2) add the log-prefix as task id in StreamTask / StandbyTask, as well as its contained
RecordCollector and ProcessorStateManager.

This message was sent by Atlassian JIRA

View raw message