Merge branch '2.1.x'
This commit is contained in:
@@ -21,7 +21,7 @@ for details on setting up your build system with the current Spring Cloud Releas
|
||||
|
||||
If you include the starter, but, for some reason, you do not want the gateway to be enabled, set `spring.cloud.gateway.enabled=false`.
|
||||
|
||||
IMPORTANT: Spring Cloud Gateway is built upon https://spring.io/projects/spring-boot#learn[Spring Boot 2.0],
|
||||
IMPORTANT: Spring Cloud Gateway is built upon https://spring.io/projects/spring-boot#learn[Spring Boot 2.x],
|
||||
https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html[Spring WebFlux],
|
||||
and https://projectreactor.io/docs[Project Reactor]. As a consequence
|
||||
many of the familiar synchronous libraries (Spring Data and Spring Security, for example) and patterns you may
|
||||
@@ -1726,6 +1726,29 @@ The table below summarises the Spring Cloud Gateway actuator endpoints. Note tha
|
||||
|
||||
|===
|
||||
|
||||
[[troubleshooting]]
|
||||
== Troubleshooting
|
||||
|
||||
=== Log Levels
|
||||
|
||||
Below are some useful loggers that contain valuable trouble shooting infomration at the `DEBUG` and `TRACE` levels.
|
||||
|
||||
- `org.springframework.cloud.gateway`
|
||||
- `org.springframework.http.server.reactive`
|
||||
- `org.springframework.web.reactive`
|
||||
- `org.springframework.boot.autoconfigure.web`
|
||||
- `reactor.netty`
|
||||
- `redisratelimiter`
|
||||
|
||||
=== Wiretap
|
||||
|
||||
The Reactor Netty `HttpClient` and `HttpServer` can have wiretap enabled. When combined
|
||||
with setting the `reactor.netty` log level to `DEBUG` or `TRACE` will enable logging of
|
||||
information such as headers and bodies sent and received across the wire. To enable this,
|
||||
set `spring.cloud.gateway.httpserver.wiretap=true` and/or
|
||||
`spring.cloud.gateway.httpclient.wiretap=true` for the `HttpServer` and `HttpClient`
|
||||
respectively.
|
||||
|
||||
== Developer Guide
|
||||
|
||||
TODO: overview of writing custom integrations
|
||||
|
||||
Reference in New Issue
Block a user