Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13892

Suppress JVM Logging from Lucene Classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • Core Framework
    • None

    Description

      The Lucene libraries supporting the Provenance Repository log the following messages related to experimental and native access settings at the JVM level.

      INFO [Index Provenance Events-1] o.a.l.s.MemorySegmentIndexInputProvider Using MemorySegmentIndexInput and native madvise support with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
      WARN [Index Provenance Events-1] o.a.l.i.v.VectorizationProvider Java vector incubator module is not readable. For optimal vector performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.
      

      These messages reflect parameters that should be changed for standard operation and can be confusing given the Lucene is an implementation detail of the Provenance Repository. For this reason, these log messages should be suppressed in the default Logback configuration

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m