You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract LOGGER_CONTEXT_CLASS_NAME constant and unify log messages
- Moved the repeated string "org.apache.logging.log4j.core.LoggerContext" to a private static final constant
- Used the constant in Class.forName() and ConditionOutcome messages
- Unified inconsistent messages: changed "Logger context" to "LoggerContext" for consistency with the class name
Signed-off-by: wonyongg <[email protected]>
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/Log4J2MetricsAutoConfiguration.java
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -54,20 +54,22 @@ public Log4j2Metrics log4j2Metrics() {
0 commit comments