Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-369

Improve log format in EnsembleTracker.processConfigData()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Framework
    • None

    Description

      EnsembleFrameworkTracker has a log statement that doesn't format its value correctly and is adding noise in log files.

      Sample output of this statement is as follows:

      [2016-12-09 12:16:26,046][INFO ][org.apache.curator.framework.imps.EnsembleTracker][] New config event received: [115, 101, 114, 118, 101, 114, 46, 49, 48, 61, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 50, 56, 57, 56, 58, 51, 56, 57, 56, 58, 112, 97, 114, 116, 105, 99, 105, 112, 97, 110, 116, 59, 48, 46, 48, 46, 48, 46, 48, 58, 50, 49, 57, 49, 10, 118, 101, 114, 115, 105, 111, 110, 61, 49, 48, 48, 48, 48, 48, 48, 48, 48]
      

      I'd like to provide a fix for this by logging the properties object once it's been parsed, but I'm confused about what branch to patch against. This class exists in the CURATOR-3.0 branch, but not in master.

      Is creating a PR against the CURATOR-3.0 branch the way to go?

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              sylvain@apache.org Sylvain Wallez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: