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

    Details

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

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jay Kreps
            Reporter:
            Joe Stein
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development