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

Default logging from tools to Stderr

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: