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:
co-authored by
Claude Sonnet 5.5
parent
fe3fc689a6
commit
c9a2b766bb
@@ -0,0 +1,8 @@
|
||||
# times user.toString() ran for one call, threshold INFO (debug off) vs DEBUG (debug on)
|
||||
call debug off debug on
|
||||
debug("User: " + user) 1 1
|
||||
debug("User: {}", user) 0 1
|
||||
debug("User: {}", user.toString()) 1 1
|
||||
debug(() -> "User: " + user) 0 1
|
||||
debug("User: {}", () -> user.toString()) 0 1
|
||||
if (isDebugEnabled()) debug("User: " + user) 0 1
|
||||
Reference in New Issue
Block a user