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

The path should be included in the TRACE log of reads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.7.8
    • None
    • core
    • None

    Description

      When I enable the TRACE logging of read requests (setting org.apache.jackrabbit.oak.jcr.operations.reads to TRACE) I get this result:

      26.09.2017 15:39:15.530 TRACE [0:0:0:0:0:0:0:1 [1506433155519] GET /foo.html HTTP/1.1] org.apache.jackrabbit.oak.jcr.operations.reads [session-2620413] getValue
      26.09.2017 15:39:15.530 TRACE [0:0:0:0:0:0:0:1 [1506433155519] GET /foo.html HTTP/1.1] org.apache.jackrabbit.oak.jcr.operations.reads [session-2620413] getItemOrNull
      26.09.2017 15:39:15.530 TRACE [0:0:0:0:0:0:0:1 [1506433155519] GET /foo.html HTTP/1.1] org.apache.jackrabbit.oak.jcr.operations.reads [session-2620413] hasProperty

      It would be good if the path where this read operation happens, would be logged as well. As it is on TRACE level and should be rarely used, even a performance impact would be acceptable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joerghoh Joerg Hoh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: