Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging from Lucene not collected to Maven logs #7120

Open
OrangeDog opened this issue Oct 30, 2024 · 0 comments
Open

Logging from Lucene not collected to Maven logs #7120

OrangeDog opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@OrangeDog
Copy link
Contributor

Describe the bug
These logs from Apache Lucene are going direct to console instead of via Maven's logging.

[INFO] Finished Version Filter Analyzer (0 seconds)
Oct 30, 2024 5:07:44 PM org.apache.lucene.store.MemorySegmentIndexInputProvider <init>
INFO: Using MemorySegmentIndexInput with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
Oct 30, 2024 5:07:44 PM org.apache.lucene.internal.vectorization.VectorizationProvider lookup
WARNING: Java vector incubator module is not readable. For optimal vector performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.
[INFO] Created CPE Index (1 seconds)

Version of dependency-check used
Maven plugin 11.1.0 (on JDK 21)

Expected behavior

[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Using MemorySegmentIndexInput with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
[WARNING] Java vector incubator module is not readable. For optimal vector performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.
[INFO] Created CPE Index (1 seconds)

(but also there should not be warnings during standard operation)

Additional information
Presumably there is an SLF4J bridge or some internal config missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant