You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/10/13 09:11:05 UTC
[jira] [Reopened] (KAFKA-2633) Default logging from tools to Stderr
[ https://issues.apache.org/jira/browse/KAFKA-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ewen Cheslack-Postava reopened KAFKA-2633:
------------------------------------------
Commented on PR about potential compatibility issues. Would be glad to see this closed with no issue, but I think this patch potentially breaks scripts using using a variety of existing CLI tools. Would like to at least see some description of potential impact.
> 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
> Assignee: Grant Henke
> Fix For: 0.9.0.0
>
>
> 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)