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

Avoid unnecessary operations when logging read operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.11
    • segment-tar
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: