Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7877

Avoid unnecessary operations when logging read operations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.9.11
    • Component/s: segment-tar
    • Labels:
      None

      Description

      The log statements introduced in CachingSegmentReader by OAK-7864 perform multiple string concatenations even if that specific log is disabled. The log statements should be executed only if the right log level has been enabled for that logger.

        Attachments

        1. OAK-7877-01.patch
          1 kB
          Francesco Mari

          Activity

            People

            • Assignee:
              frm Francesco Mari
              Reporter:
              frm Francesco Mari
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: