[bs-80] Add configurable / switchable web request trace logging (headers etc)
* Added a bean post processor for the Spring Security filter chain (so you only get traces by default if security is on) * Every request is logged at trace level if the dump requests flag is on * Requests are also dumped to a TraceRepository for later analysis (very useful for tracing problems in real time when a support call comes in) [Fixes #48976001]
This commit is contained in:
@@ -91,7 +91,7 @@ public class VarzContextServiceBootstrapApplicationTests {
|
||||
@Test
|
||||
public void testHealthz() throws Exception {
|
||||
ResponseEntity<String> entity = getRestTemplate().getForEntity(
|
||||
"http://localhost:" + managementPort + "healthz", String.class);
|
||||
"http://localhost:" + managementPort + "/healthz", String.class);
|
||||
assertEquals(HttpStatus.OK, entity.getStatusCode());
|
||||
assertEquals("ok", entity.getBody());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user