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

use by name parameter helper for logging and trait to include lazy logging and refactor code to use the new LogHelper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.8.0
    • None
    • None

    Description

      1) New tait to include logging and helper methods so if (log.isDebugEnabled()) is not required because it is in the helper and log paramaters are passed by name so not executed to tidy up the code

      2) refactor all occurrence of logging to use the log helper

      3/4 (possibly to be handled in to tickets) the "lint" affect from this for changes patched but not on trunk and new patches moving forward until this is baked in

      Attachments

        1. kafka-193-consistent-level-throwable.patch
          156 kB
          Joe Stein
        2. kafka-193-consistent-level-throwable.fix.v2.patch
          156 kB
          Jay Kreps
        3. kafka-193-consistent-level-throwable.fix.patch
          156 kB
          Joe Stein
        4. kafka-193.patch
          155 kB
          Joe Stein

        Activity

          People

            jkreps Jay Kreps
            joestein Joe Stein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: