Add log4j2-levels module: threshold rule, inheritance, additivity, custom levels, Actuator runtime changes and argument evaluation on Spring Boot 4.1.2 / Log4j2 2.25.5, with real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5SFkZoaMCukJNvZCV
This commit is contained in:
asmhatre
2026-11-17 23:20:53 +05:30
co-authored by Claude Sonnet 5.5
parent fe3fc689a6
commit c9a2b766bb
44 changed files with 1508 additions and 0 deletions
@@ -0,0 +1,24 @@
# mvn dependency:tree for the module (Log4j2 only)
com.ankurm:log4j2-levels:jar:1.0.0
\- org.springframework.boot:spring-boot-starter-log4j2:jar:4.1.2:compile
+- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.25.5:compile
| +- org.apache.logging.log4j:log4j-api:jar:2.25.5:compile
| \- org.slf4j:slf4j-api:jar:2.0.20:compile
+- org.apache.logging.log4j:log4j-core:jar:2.25.5:compile
\- org.apache.logging.log4j:log4j-jul:jar:2.25.5:compile
# mvn dependency:tree for broken/pom.xml (exclusions removed)
com.ankurm:log4j2-levels-both-logging:jar:1.0.0
+- org.springframework.boot:spring-boot-starter-webmvc:jar:4.1.2:compile
| \- org.springframework.boot:spring-boot-starter:jar:4.1.2:compile
| \- org.springframework.boot:spring-boot-starter-logging:jar:4.1.2:compile
| +- ch.qos.logback:logback-classic:jar:1.5.38:compile
| | \- ch.qos.logback:logback-core:jar:1.5.38:compile
| +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.25.5:compile
| \- org.slf4j:jul-to-slf4j:jar:2.0.20:compile
\- org.springframework.boot:spring-boot-starter-log4j2:jar:4.1.2:compile
+- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.25.5:compile
| +- org.apache.logging.log4j:log4j-api:jar:2.25.5:compile
| \- org.slf4j:slf4j-api:jar:2.0.20:compile
+- org.apache.logging.log4j:log4j-core:jar:2.25.5:compile
\- org.apache.logging.log4j:log4j-jul:jar:2.25.5:compile