fix: Clean up Apache Lucene logging via SLF4j redirect#7979
Merged
jeremylong merged 1 commit intodependency-check:mainfrom Sep 26, 2025
Merged
fix: Clean up Apache Lucene logging via SLF4j redirect#7979jeremylong merged 1 commit intodependency-check:mainfrom
jeremylong merged 1 commit intodependency-check:mainfrom
Conversation
Also suppresses the default logs for users. Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
1 task
This was referenced Oct 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also suppresses the default logs for users.
Description of Change
Currently there are occasional logs (especially from the Apache Lucene indexing) that are coming through in an consistent format. They are mostly due to warnings about the JVM-in-use (due to use of Azul/Zulu JVM within the docker image rather than Hotspot/Temurin/OpenJDK etc).
jul-to-slf4jbridgeEngineor theAbstractAnalyzerif these are the main entry points tocoreBefore (via CLI on temurin-21 in docker image)
You'll get varying different warnings depending on OpenJDK vs Zulu and different versions.
After - without Lucene log suppression (via CLI)
After - with warning suppression (via CLI)
Related issues
Partially addresses #7759 but does not address the JVM warnings.
Have test cases been added to cover the new functionality?
no