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

oak-jcr trace level logging: log path & sampling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jcr
    • None

    Description

      We currently don't log the path in trace level logging.

      Also, we (arguably) log too much: multiple GB per minute. As is, it's almost impossible to enable trace level logging. To solve this problem, we can use sampling to only log eg. 1% of the calls.

      If there are a lot of calls, it might also make sense to log stack traces once in a while (sparsingly), to find out where the bulk of the method calls originate.

      Attachments

        1. OAK-10026.patch
          8 kB
          Thomas Mueller

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: