fix(deps): downgrade logback to 1.3.14 for SLF4J 1.7 compatibility#2930
Merged
Conversation
Logback 1.5.x requires SLF4J 2.0+ (uses SLF4JServiceProvider SPI), but uPortal pins slf4jVersion=1.7.36 (uses StaticLoggerBinder). This mismatch prevents logback from binding at runtime. Downgrade to logback 1.3.14, the latest release supporting SLF4J 1.7. No configuration changes needed — all logback XML configs use only features common to both 1.3.x and 1.5.x. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Naenyn
approved these changes
Mar 31, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist
Description of change
Logback 1.5.x requires SLF4J 2.0+ (it uses the
SLF4JServiceProviderSPI), but uPortal pinsslf4jVersion=1.7.36(which usesStaticLoggerBinder). This version mismatch prevents logback from binding to SLF4J at runtime.This downgrades logback from 1.5.32 to 1.3.14, the latest release that supports SLF4J 1.7.x. No logback configuration changes are needed — all XML configs use only features common to both versions.
A follow-up upgrade to SLF4J 2.0.x + logback 1.5.x is planned for a future release. The codebase is already clean (no
StaticLoggerBinderreferences, no version-specific APIs), so that upgrade should be straightforward.