You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
This upgrade from Logback 1.2.0 to 1.5.25 is a major update with significant breaking changes. It requires updates to core dependencies (SLF4J and Java), and may break existing configurations, especially those using optional components or programmatic setup.
Highlights:
SLF4J 2.x Required: Logback 1.3.x and newer require SLF4J 2.0.x, which is not backward compatible with the SLF4J 1.7.x used by Logback 1.2.x. This is a common cause of logging failures after the upgrade.
Java 11 Required: Logback 1.4.x and newer require Java 11 at runtime, an increase from Java 8 required for version 1.3.x.
Java EE to Jakarta EE Namespace Change: Optional components like SMTPAppender switched from the javax.* (Java EE) namespace to jakarta.* (Jakarta EE) in version 1.4.x. This will break applications using these appenders on modern application servers.
Internal API Changes: Logback's internal configuration system, Joran, was rewritten in version 1.3. Code that programmatically configures Logback or extends internal classes may need to be adapted. Additionally, classes like JaninoEventEvaluator were removed in later versions.
Source: Logback documentation and release notes. Recommendation: Before merging, verify the SLF4J version across the entire project to ensure compatibility. Update the runtime to Java 11. Check for usage of any optional components that now depend on the Jakarta EE namespace and for any programmatic configuration that may rely on changed internal APIs.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
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.
Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
samples/server/petstore/jaxrs-cxf/pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-CHQOSLOGBACK-15062482
1.2.0->1.5.25ch.qos.logback:logback-core:
1.2.0->1.5.25No Path FoundNo Known ExploitImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.