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-2633) Default logging from tools to Stderr
Date Mon, 12 Oct 2015 16:53:05 GMT

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

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

GitHub user granthenke opened a pull request:

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

    KAFKA-2633: Default logging from tools to Stderr

    

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

    $ git pull https://github.com/granthenke/kafka tools-log4j

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

    https://github.com/apache/kafka/pull/296.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 #296
    
----
commit e8dd4a6cc16bace420376845b08dbe8cf949da91
Author: Grant Henke <granthenke@gmail.com>
Date:   2015-10-12T16:51:54Z

    KAFKA-2633: Default logging from tools to Stderr

----


> Default logging from tools to Stderr
> ------------------------------------
>
>                 Key: KAFKA-2633
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2633
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Grant Henke
>
> Currently the default logging for tool is stdout, this can make parsing the output  difficult
in cases where exceptions are thrown, or even when expected logging messages are output. The
most affected tool is the console-consumer but others will have this issue as well. 
> Changing the output to stderr by default allows the user to redirect the output to a
log file without effecting the tools output.
> Note: Users can change the logging settings by setting $KAFKA_LOG4J_OPTS to use the configuration
of their choice. This Jira is to change the default to be more user friendly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message