Move the remaining log4j 1.x API uses to log4j2 #539
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.43) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 205 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.319
Real PR Conversation Timeline
1 comments
"Review active on #539"
general
weight: 0.35
tonygermano
What
Moves the last uses of the log4j 1.x API to log4j2 and drops the log4j 1.2 bridge:
DefaultDebugUsageControllernow usesLogManager/Loggerlike the other controllers.ExtensionStatusesandExtensionStatusProviderlook uporg.apache.logging.log4j.LogManagerreflectively instead oforg.apache.log4j.Logger.loggerthrough the log4j2LogManager.log4j-1.2-apiis removed from the distribution, andslf4j-log4j12(which needs the bridge's log4j 1.x classes) is replaced bylog4j-slf4j-impl.LogFactory.useLog4J2Logging()) instead of the log4j 1.x one.not-going-to-be-commons-ssljar, which called log4j 1.x directly and was only kept for SoapUI, is removed with its regression test and the leftover SoapUI log4j config.User-facing fix
This also fixes the CLI's
exportmessages, which is broken in 4.7.0:cli-libshipsslf4j-log4j12without the bridge, so Velocity's SLF4J init fails withNoClassDefFoundError: org/apache/log4j/Level, nothing is written, and the CLI still exits 0. Thanks to @pacmano1 for confirming this against a build of this branch.Reviewer notes
MirthLauncheralready does.Packages.org.apache.log4j.*directly will no longer find those classes; theloggervariable they get is a log4j2Logger.🤖 Generated with Claude Code