Skip to content

fix(deps): downgrade logback to 1.3.14 for SLF4J 1.7 compatibility#2930

Merged
bjagg merged 1 commit into
uPortal-Project:masterfrom
bjagg:fix/logback-slf4j-compat
Mar 31, 2026
Merged

fix(deps): downgrade logback to 1.3.14 for SLF4J 1.7 compatibility#2930
bjagg merged 1 commit into
uPortal-Project:masterfrom
bjagg:fix/logback-slf4j-compat

Conversation

@bjagg

@bjagg bjagg commented Mar 31, 2026

Copy link
Copy Markdown
Member
Checklist
Description of change

Logback 1.5.x requires SLF4J 2.0+ (it uses the SLF4JServiceProvider SPI), but uPortal pins slf4jVersion=1.7.36 (which uses StaticLoggerBinder). 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 StaticLoggerBinder references, no version-specific APIs), so that upgrade should be straightforward.

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>
@bjagg bjagg self-assigned this Mar 31, 2026
@bjagg bjagg merged commit bdda515 into uPortal-Project:master Mar 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants