Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2633

Default logging from tools to Stderr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              granthenke Grant Henke
              granthenke Grant Henke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: