Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23193

Review of Subset of Debug Logging

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Better yet, use parameterized messages

      Will outperform the first form by a factor of at least 30, in case of a disabled logging statement.

      http://www.slf4j.org/faq.html

      • Use parameterized logging where appropriate
      • Add logging guards if (Log.isDebugEnabled() around loops and complex debug message

      Simplify the code, remove lines of code, and potentially increase performance

        Attachments

        1. HIVE-23193.1.patch
          133 kB
          David Mollitor

          Activity

            People

            • Assignee:
              belugabehr David Mollitor
              Reporter:
              belugabehr David Mollitor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: