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,16 @@
# Level.intLevel() for the eight built-in levels, from the log4j-api on the classpath
OFF intLevel=0
FATAL intLevel=100
ERROR intLevel=200
WARN intLevel=300
INFO intLevel=400
DEBUG intLevel=500
TRACE intLevel=600
ALL intLevel=2147483647
# the rule: an event is enabled when event.isMoreSpecificThan(threshold), i.e. its int is <= the threshold's
INFO.isMoreSpecificThan(DEBUG) = true
DEBUG.isMoreSpecificThan(INFO) = false
INFO.isMoreSpecificThan(INFO) = true
FATAL.isMoreSpecificThan(OFF) = false
TRACE.isMoreSpecificThan(ALL) = true