Improve actuator endpoint mapping debug logging

Closes gh-14292
This commit is contained in:
Brian Clozel
2018-11-14 14:36:52 +01:00
parent 8cdfb6c70b
commit 8e86bcafc1
8 changed files with 263 additions and 90 deletions

View File

@@ -130,6 +130,7 @@ public class LoggingApplicationListener implements GenericApplicationListener {
loggers.add("web", "org.springframework.core.codec");
loggers.add("web", "org.springframework.http");
loggers.add("web", "org.springframework.web");
loggers.add("web", "org.springframework.boot.actuate.endpoint.web");
loggers.add("sql", "org.springframework.jdbc.core");
loggers.add("sql", "org.hibernate.SQL");
DEFAULT_GROUP_LOGGERS = Collections.unmodifiableMap(loggers);

View File

@@ -569,6 +569,7 @@ public class LoggingApplicationListenerTests {
assertTraceEnabled("org.springframework.core.codec", true);
assertTraceEnabled("org.springframework.http", true);
assertTraceEnabled("org.springframework.web", true);
assertTraceEnabled("org.springframework.boot.actuate.endpoint.web", true);
}
@Test